diff --git a/requirements-dev.txt b/requirements-dev.txt index 3d7bc9f2b..b28caa90a 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -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 diff --git a/requirements-linting.txt b/requirements-linting.txt new file mode 100644 index 000000000..020bf63f4 --- /dev/null +++ b/requirements-linting.txt @@ -0,0 +1,4 @@ +pylint == 3.1.0 +anybadge +pylint-json2html==0.5.0 +pre-commit==3.1.1 \ No newline at end of file diff --git a/requirements-type-checking.txt b/requirements-type-checking.txt new file mode 100644 index 000000000..8d699f2d9 --- /dev/null +++ b/requirements-type-checking.txt @@ -0,0 +1,3 @@ +mypy==1.5.1 +types-tqdm +pandas-stubs \ No newline at end of file diff --git a/tox.ini b/tox.ini index dd66b82c7..206a347a0 100644 --- a/tox.ini +++ b/tox.ini @@ -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 @@ -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/}