Skip to content

Commit 952f4e4

Browse files
author
Anis Da Silva Campos
committed
move requirement files to requirements folder
1 parent 1ad6d27 commit 952f4e4

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,27 @@ export PYTHONPATH=.
1111
pip install --quiet --upgrade 'pip==23.3.1' 'pip-tools==7.3'
1212

1313
# generates a lock file with pinned version of all dependencies to be used by the CI and local devs
14-
dev-requirements.txt: .venv dev-requirements.in pyproject.toml
14+
requirements/dev.txt: .venv requirements/dev.in pyproject.toml
1515
pip-compile \
1616
--quiet --generate-hashes --max-rounds=20 --strip-extras \
1717
--resolver=backtracking \
18-
--output-file dev-requirements.txt \
19-
dev-requirements.in pyproject.toml
18+
--output-file requirements/dev.txt \
19+
requirements/dev.in pyproject.toml
2020

2121
# upgrades the dependencies to their latest/matching version
2222
upgrade: .venv
2323
pip-compile \
2424
--quiet --generate-hashes --max-rounds=20 --strip-extras \
2525
--upgrade \
2626
--resolver=backtracking \
27-
--output-file dev-requirements.txt \
28-
dev-requirements.in setup.cfg
27+
--output-file requirements/dev.txt \
28+
requirements/dev.in pyproject.toml
2929

3030

3131
# creates the venv if not present then install the dependencies, the package and pre-commit
3232
.PHONY: install
3333
install: .venv
34-
pip-sync dev-requirements.txt
34+
pip-sync requirements/dev.txt
3535
# install pylint_pytest (deps are already handled by the line before)
3636
pip install --no-deps -e .
3737
# install pre-commit hooks
File renamed without changes.

dev-requirements.txt renamed to requirements/dev.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file is autogenerated by pip-compile with Python 3.11
33
# by the following command:
44
#
5-
# pip-compile --generate-hashes --max-rounds=20 --output-file=dev-requirements.txt --strip-extras dev-requirements.in pyproject.toml
5+
# pip-compile --generate-hashes --max-rounds=20 --output-file=requirements/dev.txt --strip-extras pyproject.toml requirements/dev.in
66
#
77
astroid==3.0.1 \
88
--hash=sha256:7d5895c9825e18079c5aeac0572bc2e4c83205c95d416e0b4fee8bc361d2d9ca \
@@ -117,7 +117,7 @@ packaging==23.2 \
117117
pip-tools==7.3.0 \
118118
--hash=sha256:8717693288720a8c6ebd07149c93ab0be1fced0b5191df9e9decd3263e20d85e \
119119
--hash=sha256:8e9c99127fe024c025b46a0b2d15c7bd47f18f33226cf7330d35493663fc1d1d
120-
# via -r dev-requirements.in
120+
# via -r requirements/dev.in
121121
platformdirs==4.0.0 \
122122
--hash=sha256:118c954d7e949b35437270383a3f2531e99dd93cf7ce4dc8340d3356d30f173b \
123123
--hash=sha256:cb633b2bcf10c51af60beb0ab06d2f1d69064b43abf4c185ca6b28865f3f9731
@@ -131,7 +131,7 @@ pluggy==1.3.0 \
131131
pre-commit==3.5.0 \
132132
--hash=sha256:5804465c675b659b0862f07907f96295d490822a450c4c40e747d0b1c6ebcb32 \
133133
--hash=sha256:841dc9aef25daba9a0238cd27984041fa0467b4199fc4852e27950664919f660
134-
# via -r dev-requirements.in
134+
# via -r requirements/dev.in
135135
pylint==3.0.2 \
136136
--hash=sha256:0d4c286ef6d2f66c8bfb527a7f8a629009e42c99707dec821a03e1b51a4c1496 \
137137
--hash=sha256:60ed5f3a9ff8b61839ff0348b3624ceeb9e6c2a92c514d81c9cc273da3b6bcda
@@ -144,13 +144,13 @@ pytest==7.4.3 \
144144
--hash=sha256:0d009c083ea859a71b76adf7c1d502e4bc170b80a8ef002da5806527b9591fac \
145145
--hash=sha256:d989d136982de4e3b29dabcc838ad581c64e8ed52c11fbe86ddebd9da0818cd5
146146
# via
147-
# -r dev-requirements.in
147+
# -r requirements/dev.in
148148
# pylint-pytest (pyproject.toml)
149149
# pytest-cov
150150
pytest-cov==4.1.0 \
151151
--hash=sha256:3904b13dfbfec47f003b8e77fd5b589cd11904a21ddf1ab38a64f204d6a10ef6 \
152152
--hash=sha256:6ba70b9e97e69fcc3fb45bfeab2d0a138fb65c4d0d6a41ef33983ad114be8c3a
153-
# via -r dev-requirements.in
153+
# via -r requirements/dev.in
154154
pyyaml==6.0.1 \
155155
--hash=sha256:04ac92ad1925b2cff1db0cfebffb6ffc43457495c9b3c39d3fcae417d7125dc5 \
156156
--hash=sha256:062582fca9fabdd2c8b54a3ef1c978d786e0f6b3a1510e0ac93ef59e0ddae2bc \
@@ -215,7 +215,7 @@ wheel==0.42.0 \
215215
--hash=sha256:177f9c9b0d45c47873b619f5b650346d632cdc35fb5e4d25058e09c9e581433d \
216216
--hash=sha256:c45be39f7882c9d34243236f2d63cbd58039e360f85d0913425fbd7ceea617a8
217217
# via
218-
# -r dev-requirements.in
218+
# -r requirements/dev.in
219219
# pip-tools
220220

221221
# WARNING: The following packages were not pinned, but pip requires them to be

0 commit comments

Comments
 (0)