Skip to content

Commit

Permalink
Merge pull request #24 from gforcada/split-requirements
Browse files Browse the repository at this point in the history
Split requirements
  • Loading branch information
gforcada committed Oct 28, 2022
2 parents 54ba2c0 + dbafe8e commit eb17009
Show file tree
Hide file tree
Showing 5 changed files with 184 additions and 111 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/testing.yml
Expand Up @@ -29,7 +29,11 @@ jobs:
- name: pip version
run: pip --version
- name: Install dependencies
if: matrix.python-version != '3.9'
run: python -m pip install -r requirements.txt
- name: Install dependencies
if: matrix.python-version == '3.9'
run: python -m pip install -r requirements-lint.txt
# formatters
- name: Run pyupgrade
if: matrix.python-version == '3.9'
Expand Down
22 changes: 22 additions & 0 deletions requirements-lint.in
@@ -0,0 +1,22 @@
bandit
black
codespell
coveralls
flake8-blind-except
flake8-bugbear
flake8-comprehensions
flake8-debugger
flake8-deprecated
flake8-isort
flake8-pep3101
flake8-print
flake8-quotes
flake8-todo
importlib-metadata; python_version < '3.8'
isort
mypy
pytest
pytest-cov
pyupgrade
typed-ast; python_version < '3.8' # dependency of black and mypy
zipp; python_version < '3.8' # dependency of importlib-metadata
152 changes: 152 additions & 0 deletions requirements-lint.txt
@@ -0,0 +1,152 @@
#
# This file is autogenerated by pip-compile with python 3.7
# To update, run:
#
# pip-compile requirements-lint.in
#
attrs==22.1.0
# via
# flake8-bugbear
# pytest
bandit==1.7.4
# via -r requirements-lint.in
black==22.10.0
# via -r requirements-lint.in
certifi==2022.9.24
# via requests
charset-normalizer==2.1.1
# via requests
click==8.1.3
# via black
codespell==2.2.2
# via -r requirements-lint.in
coverage[toml]==6.5.0
# via
# coveralls
# pytest-cov
coveralls==3.3.1
# via -r requirements-lint.in
docopt==0.6.2
# via coveralls
exceptiongroup==1.0.0
# via pytest
flake8==5.0.4
# via
# flake8-bugbear
# flake8-comprehensions
# flake8-debugger
# flake8-deprecated
# flake8-isort
# flake8-pep3101
# flake8-print
# flake8-quotes
flake8-blind-except==0.2.1
# via -r requirements-lint.in
flake8-bugbear==22.10.27
# via -r requirements-lint.in
flake8-comprehensions==3.10.0
# via -r requirements-lint.in
flake8-debugger==4.1.2
# via -r requirements-lint.in
flake8-deprecated==2.0.1
# via -r requirements-lint.in
flake8-isort==5.0.0
# via -r requirements-lint.in
flake8-pep3101==2.0.0
# via -r requirements-lint.in
flake8-print==5.0.0
# via -r requirements-lint.in
flake8-quotes==3.3.1
# via -r requirements-lint.in
flake8-todo==0.7
# via -r requirements-lint.in
gitdb==4.0.9
# via gitpython
gitpython==3.1.29
# via bandit
idna==3.4
# via requests
importlib-metadata==4.2.0 ; python_version < "3.8"
# via
# -r requirements-lint.in
# click
# flake8
# flake8-comprehensions
# pluggy
# pytest
# stevedore
iniconfig==1.1.1
# via pytest
isort==5.10.1
# via
# -r requirements-lint.in
# flake8-isort
mccabe==0.7.0
# via flake8
mypy==0.982
# via -r requirements-lint.in
mypy-extensions==0.4.3
# via
# black
# mypy
packaging==21.3
# via pytest
pathspec==0.10.1
# via black
pbr==5.11.0
# via stevedore
platformdirs==2.5.2
# via black
pluggy==1.0.0
# via pytest
pycodestyle==2.9.1
# via
# flake8
# flake8-debugger
# flake8-print
# flake8-todo
pyflakes==2.5.0
# via flake8
pyparsing==3.0.9
# via packaging
pytest==7.2.0
# via
# -r requirements-lint.in
# pytest-cov
pytest-cov==4.0.0
# via -r requirements-lint.in
pyupgrade==3.1.0
# via -r requirements-lint.in
pyyaml==6.0
# via bandit
requests==2.28.1
# via coveralls
smmap==5.0.0
# via gitdb
stevedore==3.5.2
# via bandit
tokenize-rt==5.0.0
# via pyupgrade
tomli==2.0.1
# via
# black
# coverage
# mypy
# pytest
typed-ast==1.5.4 ; python_version < "3.8"
# via
# -r requirements-lint.in
# black
# mypy
typing-extensions==4.4.0
# via
# black
# gitpython
# importlib-metadata
# mypy
urllib3==1.26.12
# via requests
zipp==3.10.0 ; python_version < "3.8"
# via
# -r requirements-lint.in
# importlib-metadata
19 changes: 1 addition & 18 deletions requirements.in
@@ -1,22 +1,5 @@
bandit
black
codespell
coveralls
flake8-blind-except
flake8-bugbear
flake8-comprehensions
flake8-debugger
flake8-deprecated
flake8-isort
flake8-pep3101
flake8-print
flake8-quotes
flake8-todo
flake8
importlib-metadata; python_version < '3.8'
isort
mypy
pytest
pytest-cov
pyupgrade
typed-ast; python_version < '3.8' # dependency of black and mypy
zipp; python_version < '3.8' # dependency of importlib-metadata
98 changes: 5 additions & 93 deletions requirements.txt
Expand Up @@ -5,21 +5,11 @@
# pip-compile requirements.in
#
attrs==22.1.0
# via
# flake8-bugbear
# pytest
bandit==1.7.4
# via -r requirements.in
black==22.10.0
# via -r requirements.in
# via pytest
certifi==2022.9.24
# via requests
charset-normalizer==2.1.1
# via requests
click==8.1.3
# via black
codespell==2.2.1
# via -r requirements.in
coverage[toml]==6.5.0
# via
# coveralls
Expand All @@ -31,80 +21,25 @@ docopt==0.6.2
exceptiongroup==1.0.0
# via pytest
flake8==5.0.4
# via
# flake8-bugbear
# flake8-comprehensions
# flake8-debugger
# flake8-deprecated
# flake8-isort
# flake8-pep3101
# flake8-print
# flake8-quotes
flake8-blind-except==0.2.1
# via -r requirements.in
flake8-bugbear==22.9.23
# via -r requirements.in
flake8-comprehensions==3.10.0
# via -r requirements.in
flake8-debugger==4.1.2
# via -r requirements.in
flake8-deprecated==2.0.0
# via -r requirements.in
flake8-isort==5.0.0
# via -r requirements.in
flake8-pep3101==2.0.0
# via -r requirements.in
flake8-print==5.0.0
# via -r requirements.in
flake8-quotes==3.3.1
# via -r requirements.in
flake8-todo==0.7
# via -r requirements.in
gitdb==4.0.9
# via gitpython
gitpython==3.1.28
# via bandit
idna==3.4
# via requests
importlib-metadata==4.2.0 ; python_version < "3.8"
# via
# -r requirements.in
# click
# flake8
# flake8-comprehensions
# pluggy
# pytest
# stevedore
iniconfig==1.1.1
# via pytest
isort==5.10.1
# via
# -r requirements.in
# flake8-isort
mccabe==0.7.0
# via flake8
mypy==0.982
# via -r requirements.in
mypy-extensions==0.4.3
# via
# black
# mypy
packaging==21.3
# via pytest
pathspec==0.10.1
# via black
pbr==5.10.0
# via stevedore
platformdirs==2.5.2
# via black
pluggy==1.0.0
# via pytest
pycodestyle==2.9.1
# via
# flake8
# flake8-debugger
# flake8-print
# flake8-todo
# via flake8
pyflakes==2.5.0
# via flake8
pyparsing==3.0.9
Expand All @@ -115,38 +50,15 @@ pytest==7.2.0
# pytest-cov
pytest-cov==4.0.0
# via -r requirements.in
pyupgrade==3.0.0
# via -r requirements.in
pyyaml==6.0
# via bandit
requests==2.28.1
# via coveralls
smmap==5.0.0
# via gitdb
stevedore==3.5.0
# via bandit
tokenize-rt==5.0.0
# via pyupgrade
tomli==2.0.1
# via
# black
# coverage
# mypy
# pytest
typed-ast==1.5.4 ; python_version < "3.8"
# via
# -r requirements.in
# black
# mypy
typing-extensions==4.4.0
# via
# black
# gitpython
# importlib-metadata
# mypy
# via importlib-metadata
urllib3==1.26.12
# via requests
zipp==3.9.0 ; python_version < "3.8"
# via
# -r requirements.in
# importlib-metadata
zipp==3.9.0
# via importlib-metadata

0 comments on commit eb17009

Please sign in to comment.