Skip to content

Commit

Permalink
Merge pull request #91 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 fc4e892 + dd61657 commit 344312f
Show file tree
Hide file tree
Showing 5 changed files with 186 additions and 133 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ jobs:
- name: pip version
run: pip --version
- name: Install dependencies
if: matrix.python-version == '3.9'
run: python -m pip install -r requirements-lint.txt
- name: Install dependencies
if: matrix.python-version != '3.9'
run: python -m pip install -r requirements.txt
# formatters
- name: Run pyupgrade
Expand Down
22 changes: 22 additions & 0 deletions requirements-lint.in
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
122 changes: 7 additions & 115 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +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
# safety
codespell==2.2.1
# via -r requirements.in
coverage[toml]==6.5.0
# via
# coveralls
Expand All @@ -30,88 +18,28 @@ coveralls==3.3.1
# via -r requirements.in
docopt==0.6.2
# via coveralls
dparse==0.6.2
# via safety
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==1.3
# via -r requirements.in
flake8-isort==4.2.0
# via -r requirements.in
flake8-pep3101==1.3.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
# dparse
# pytest
# safety
pathspec==0.10.1
# via black
pbr==5.10.0
# via stevedore
platformdirs==2.5.2
# via black
# via pytest
pluggy==1.0.0
# via pytest
py==1.11.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 @@ -122,51 +50,15 @@ pytest==7.1.3
# 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
# safety
ruamel-yaml==0.17.21
# via safety
ruamel-yaml-clib==0.2.6
# via ruamel-yaml
safety==2.3.1
# via -r requirements.in
smmap==5.0.0
# via gitdb
stevedore==3.5.0
# via bandit
tokenize-rt==5.0.0
# via pyupgrade
toml==0.10.2
# via dparse
# via coveralls
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.8.1 ; python_version < "3.8"
# via
# -r requirements.in
# importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# setuptools
zipp==3.8.1
# via importlib-metadata

0 comments on commit 344312f

Please sign in to comment.