From a97aac843122595798f79d8589cc68336107bfae Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 7 Nov 2023 13:40:55 +0800 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#33) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/tox-dev/pyproject-fmt: 1.3.0 → 1.4.1](https://github.com/tox-dev/pyproject-fmt/compare/1.3.0...1.4.1) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- pyproject.toml | 34 +++++++++++++++++----------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b49c4136..015a6fd9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,7 +25,7 @@ repos: - id: pyupgrade args: [--keep-runtime-typing] - repo: https://github.com/tox-dev/pyproject-fmt - rev: 1.3.0 + rev: 1.4.1 hooks: - id: pyproject-fmt - repo: https://github.com/pre-commit/mirrors-mypy diff --git a/pyproject.toml b/pyproject.toml index ef119ca8..43656a7a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,6 +71,23 @@ profile = "black" [tool.flake8] max-line-length = 120 +[tool.pylint.format] +max-line-length = 120 + +[tool.pylint.messages_control] +disable = """ + E0012, + E0401, + R0201, + R0801, +""" + +[tool.pylint.reports] +output-format = "colorized" + +[tool.pylint.main] +fail-under = 9.8 + [tool.pytest.ini_options] addopts = "--doctest-modules --cov" @@ -93,20 +110,3 @@ fail_under = 80 [tool.mypy] ignore_missing_imports = true - -[tool.pylint.format] -max-line-length = 120 - -[tool.pylint.messages_control] -disable = """ - E0012, - E0401, - R0201, - R0801, -""" - -[tool.pylint.reports] -output-format = "colorized" - -[tool.pylint.main] -fail-under = 9.8