From d0ff8c5b6d15771bf34b728b35dafb72dbc7053a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=87a=C4=9Ftay=20Fabry?= Date: Tue, 2 Apr 2024 21:30:56 +0200 Subject: [PATCH] Update pyproject.toml --- pyproject.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 85a4f9619..ea60835d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -172,12 +172,15 @@ module = "xarray" follow_imports = "skip" ignore_errors = true -[tool.ruff.lint] +[tool.ruff] target-version = "py38" # designated Python version +line-length = 88 exclude = [ "__init__.py", "doc/src/conf.py", ] + +[tool.ruff.lint] # TODO: should be the following list, but Ruff does not yet impl all of them. # W503,W504 # E203 @@ -191,7 +194,6 @@ ignore = [ "D203", "D211", "D213", "UP006", "UP007", # see ruff GH#4427 ] -line-length = 88 select = [ "B", # flake8-bugbear "C", # flake8-comprehensions