Skip to content

Commit

Permalink
pyproject(ruff[lint.flake8-builtins]) Skip types and dataclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Jan 9, 2025
1 parent dc41d3f commit d70c380
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,12 @@ required-imports = [
"from __future__ import annotations",
]

[tool.ruff.lint.flake8-builtins]
builtins-allowed-modules = [
"dataclasses",
"types",
]

[tool.ruff.lint.pydocstyle]
convention = "numpy"

Expand Down

0 comments on commit d70c380

Please sign in to comment.