From 15d8cd76f2f0cd797614780598e80d50eb0ff894 Mon Sep 17 00:00:00 2001 From: missytake Date: Thu, 11 Apr 2024 15:20:16 +0200 Subject: [PATCH] chore: fix lint config --- pyproject.toml | 4 ++-- tox.ini | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fd8d0947..9d8b310a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["setuptools_scm"] build-backend = "setuptools.build_meta" [tool.ruff] -select = [ +lint.select = [ "E", "W", # pycodestyle "F", # Pyflakes "N", # pep8-naming @@ -24,7 +24,7 @@ select = [ "PLE", # Pylint Error "PLW", # Pylint Warning ] -ignore = ["PT001", "PT016", "PT011"] +lint.ignore = ["PT001", "PT016", "PT011"] line-length = 100 [tool.black] diff --git a/tox.ini b/tox.ini index beffebe7..887d2fd9 100644 --- a/tox.ini +++ b/tox.ini @@ -37,7 +37,7 @@ deps = black commands = rst-lint README.rst CHANGELOG.rst doc/index.rst - ruff src/ tests/ + ruff check src/ tests/ black --check --diff src/ tests/ [testenv:check-manifest]