Skip to content

Commit

Permalink
Sync astropy pyproject.toml with tardis
Browse files Browse the repository at this point in the history
  • Loading branch information
atharva-2001 committed May 27, 2024
1 parent b2be4f9 commit d182656
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ lint.ignore = [ # NOTE: non-permanent exclusions should be added to `.ruff.toml
"test_*.py" = [
"B018", # UselessExpression
"D", # pydocstyle
"E402", # Module level import not at top of file
"PGH001", # No builtin eval() allowed
"S101", # Use of assert detected
]
".pyinstaller/*.py" = ["INP001"] # Not a package.
Expand All @@ -128,6 +126,12 @@ lint.ignore = [ # NOTE: non-permanent exclusions should be added to `.ruff.toml
ignore-fully-untyped = true
mypy-init-return = true

[tool.ruff.lint.flake8-comprehensions]
allow-dict-calls-with-keyword-arguments = true

[tool.ruff.lint.flake8-type-checking]
exempt-modules = []

[tool.ruff.lint.isort]
known-first-party = ["tardis", "carsus", "stardis"]

Expand Down

0 comments on commit d182656

Please sign in to comment.