Skip to content

Commit

Permalink
Merge pull request #258 from Deltares/pyproject_ruff
Browse files Browse the repository at this point in the history
Move ruff toml into pyproject
  • Loading branch information
Huite authored Jul 11, 2024
2 parents da0588f + 1c67bbb commit 799adc3
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 22 deletions.
2 changes: 1 addition & 1 deletion pixi.lock
Original file line number Diff line number Diff line change
Expand Up @@ -29111,7 +29111,7 @@ packages:
name: xugrid
version: 0.10.0
path: .
sha256: 40647e8ddd1dbf3818c42353f9b788e85c1460f407abb89e4b94455b06d4500c
sha256: 567497ff9ff7d3505065c130e92745e7e3a4a8c7128ea50ec7f4f5fd702888be
requires_dist:
- numba
- numba-celltree
Expand Down
23 changes: 23 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,26 @@ default = { features = ["py312"], solve-group = "py312" }
py312 = { features = ["py312"], solve-group = "py312" }
py311 = ["py311"]
py310 = ["py310"]

[tool.ruff.lint]
# See https://docs.astral.sh/ruff/rules/
select = ["C4", "D2", "D3", "D4", "E", "F", "I", "NPY", "PD"]
ignore = [
"D202",
"D205",
"D206",
"D400",
"D404",
"E402",
"E501",
"E703",
"PD002",
"PD901",
"PD003",
"PD004",
]
fixable = ["I"]
ignore-init-module-imports = true

[tool.ruff.lint.pydocstyle]
convention = "numpy"
21 changes: 0 additions & 21 deletions ruff.toml

This file was deleted.

0 comments on commit 799adc3

Please sign in to comment.