Skip to content

Commit

Permalink
Pin pylint (#629)
Browse files Browse the repository at this point in the history
* bump pre-commit pylint version

* pin pylint

* remove setuptools pins

* setup.py setuptools

* add back setuptools dep

* update ci build

* update build

* update nox build

* update nox build
  • Loading branch information
cosmicBboy committed Sep 18, 2021
1 parent 70306a5 commit 7083836
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion environment.yml
Expand Up @@ -26,7 +26,7 @@ dependencies:
- isort >= 5.7.0
- codecov
- mypy >= 0.902 # mypy no longer bundle stubs for third-party libraries
- pylint >= 2.7.2
- pylint = 2.10.2
- pytest
- pytest-cov
- pytest-xdist
Expand Down
4 changes: 4 additions & 0 deletions noxfile.py
Expand Up @@ -187,6 +187,10 @@ def install_extras(
if extra == "core":
specs.append(REQUIRES["all"]["hypothesis"])

# this is a temporary measure to install setuptools due to this issue:
# https://github.com/pandera-dev/pandera/pull/602#issuecomment-915622823
session.install("setuptools < 58.0.0")

# CI installs conda dependencies, so only run this for local runs
if (
isinstance(session.virtualenv, nox.virtualenv.CondaEnv)
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Expand Up @@ -17,7 +17,7 @@ black >= 20.8b1
isort >= 5.7.0
codecov
mypy >= 0.902
pylint >= 2.7.2
pylint == 2.10.2
pytest
pytest-cov
pytest-xdist
Expand Down

0 comments on commit 7083836

Please sign in to comment.