Skip to content

Commit

Permalink
Add ruff support and format parser.
Browse files Browse the repository at this point in the history
  • Loading branch information
vnmabus committed Jan 17, 2024
1 parent dc306f5 commit a40f9d9
Show file tree
Hide file tree
Showing 3 changed files with 1,287 additions and 1,282 deletions.
16 changes: 15 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,18 @@ build-backend = "setuptools.build_meta"
include = ["rdata*"]

[tool.setuptools.dynamic]
version = {attr = "rdata.__version__"}
version = {attr = "rdata.__version__"}

[tool.ruff]
select = [
"ALL",
]
ignore = [
"ANN101", # self does not need to be typed
"D212", # incompatible with D213, which is our preferred style for multiline docstrings
"PLC0414", # allow explicit re-exports
"S101", # assert is allowed
]

[tool.ruff.pydocstyle]
convention = "google"
Loading

0 comments on commit a40f9d9

Please sign in to comment.