diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9262640..f747bed 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,14 +17,10 @@ repos: args: ['-i'] - repo: https://github.com/PyCQA/pylint - rev: pylint-2.5.2 + rev: pylint-2.6.0 hooks: - id: pylint language: system - args: [ - '--max-line-length=120', - '--disable=import-outside-toplevel' - ] - repo: https://github.com/PyCQA/pydocstyle rev: 5.0.2 diff --git a/pyproject.toml b/pyproject.toml index ca925b8..6b742a3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,11 @@ [build-system] requires = ['setuptools>=40.8.0', 'wheel', 'reentry~=1.3', 'fastentrypoints~=0.12'] build-backend = 'setuptools.build_meta:__legacy__' + +[tool.pylint.format] +max-line-length = 120 + +[tool.pylint.messages_control] +disable = [ + 'import-outside-toplevel', +] diff --git a/setup.json b/setup.json index 19abbd0..1a2d0c9 100644 --- a/setup.json +++ b/setup.json @@ -37,7 +37,7 @@ "extras_require": { "pre-commit": [ "pre-commit~=2.2", - "pylint~=2.5" + "pylint~=2.6" ], "tests": [ "pgtest~=1.3",