From 8bf7b74dcc8f4db9479ee58e7e7bdaf23d081aea Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Fri, 2 Feb 2024 10:16:22 +0100 Subject: [PATCH] updated ruff --- pyproject.toml | 10 +++++----- requirements-dev.txt | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 59f0d1a..5c24414 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,6 +64,10 @@ addopts = """ """ [tool.ruff] +line-length = 79 +target-version = "py38" + +[tool.ruff.lint] select = [ "F", # pyflakes "E", "W", # pycodestyle @@ -72,11 +76,7 @@ select = [ "D", # pydocstyle "UP" # pyupgrade ] -line-length = 79 -target-version = "py38" - -[tool.ruff.pydocstyle] -convention = "numpy" +pydocstyle.convention = "numpy" [tool.mypy] files = "blag,tests" diff --git a/requirements-dev.txt b/requirements-dev.txt index bc42ba5..5802990 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -6,6 +6,6 @@ twine==4.0.2 wheel==0.42.0 pytest==7.4.3 pytest-cov==4.1.0 -ruff==0.1.14 +ruff==0.2.00 mypy==1.8.0 types-markdown==3.5.0.20240129