Skip to content

Commit

Permalink
Exclude base requirements from dev requirements
Browse files Browse the repository at this point in the history
This approach enhances clarity and reduces redundancy
by isolating dependencies.
  • Loading branch information
Martolivna committed Feb 24, 2024
1 parent b0646d8 commit 23dc13f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
python-version: 3.11

- name: Install requirements
run: python -m pip install -r requirements/dev.txt
run: python -m pip install -r requirements/base.txt -r requirements/dev.txt

- name: Run tests
run: python -m manage test
Expand All @@ -34,7 +34,7 @@ jobs:
python-version: 3.11

- name: Install requirements
run: python -m pip install -r requirements/dev.txt
run: python -m pip install -r requirements/base.txt -r requirements/dev.txt

- name: Install pre-commit
run: python -m pip install --upgrade pre-commit
Expand Down
2 changes: 1 addition & 1 deletion requirements/dev.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
-c base.txt
-r base.txt

pylint
19 changes: 0 additions & 19 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,10 @@
#
# pip-compile requirements/dev.in
#
asgiref==3.7.2
# via
# -c requirements/base.txt
# -r requirements/base.txt
# django
astroid==2.15.6
# via pylint
dill==0.3.7
# via pylint
django==3.2.20
# via
# -c requirements/base.txt
# -r requirements/base.txt
isort==5.12.0
# via pylint
lazy-object-proxy==1.9.0
Expand All @@ -27,16 +18,6 @@ platformdirs==3.10.0
# via pylint
pylint==2.17.5
# via -r requirements/dev.in
pytz==2023.3
# via
# -c requirements/base.txt
# -r requirements/base.txt
# django
sqlparse==0.4.4
# via
# -c requirements/base.txt
# -r requirements/base.txt
# django
tomlkit==0.12.1
# via pylint
wrapt==1.15.0
Expand Down

0 comments on commit 23dc13f

Please sign in to comment.