Skip to content

Commit

Permalink
Update pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
CagtayFabry authored Apr 2, 2024
1 parent e72270b commit d0ff8c5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -191,7 +194,6 @@ ignore = [
"D203", "D211", "D213",
"UP006", "UP007", # see ruff GH#4427
]
line-length = 88
select = [
"B", # flake8-bugbear
"C", # flake8-comprehensions
Expand Down

0 comments on commit d0ff8c5

Please sign in to comment.