Skip to content

Commit

Permalink
Merge pull request #627 from aai-institute/feature/improve-requiremen…
Browse files Browse the repository at this point in the history
…t-files

Improve requirement files
  • Loading branch information
schroedk authored Sep 16, 2024
2 parents 6bfc142 + 8f6a8ee commit ce35efd
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
9 changes: 2 additions & 7 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
tox<4.0.0
tox-wheel
pre-commit==3.1.1
black[jupyter] == 24.3.0
isort == 5.12.0
pylint==3.1.0
pylint-json2html==0.5.0
anybadge
mypy==1.5.1
types-tqdm
pandas-stubs
-r requirements-linting.txt
-r requirements-type-checking.txt
bump2version==1.0.1
jupyter
nbconvert>=7.2.9
Expand Down
4 changes: 4 additions & 0 deletions requirements-linting.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pylint == 3.1.0
anybadge
pylint-json2html==0.5.0
pre-commit==3.1.1
3 changes: 3 additions & 0 deletions requirements-type-checking.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
mypy==1.5.1
types-tqdm
pandas-stubs
9 changes: 2 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ commands =
pre-commit run --all --show-diff-on-failure
bash -c \'python build_scripts/run_pylint.py >>>(pylint-json2html -f jsonextended -o pylint.html) \'
deps =
pylint == 2.12.0
anybadge
pylint-json2html
pre-commit
-r requirements-linting.txt
-r requirements.txt
extras:
torch
Expand All @@ -56,9 +53,7 @@ setenv =
passenv =
TERM
deps =
mypy==1.5.1
types-tqdm
pandas-stubs
-r requirements-type-checking.txt
-r requirements.txt
commands =
mypy {posargs:src/}

0 comments on commit ce35efd

Please sign in to comment.