Skip to content

Commit

Permalink
fix: update pyptoject as per deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
yolile committed Feb 10, 2024
1 parent bfe21e5 commit c26a3f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ line-length = 119

[tool.ruff]
line-length = 119
select = ["ALL"]
lint.select = ["ALL"]
target-version = "py310"
extend-include = ["*.ipynb"]
ignore = [
lint.ignore = [
"ANN", "COM", "CPY", "D", "EM",
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
"W191", "E501", "D206", "Q000", "Q001", "Q002", "Q003", "ISC001",
Expand All @@ -17,8 +17,8 @@ ignore = [
"ERA001", # commented-out code
]

[tool.ruff.flake8-builtins]
[tool.ruff.lint.flake8-builtins]
builtins-ignorelist = ["copyright"]

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"template_*" = ["E402"] # import not at top

0 comments on commit c26a3f2

Please sign in to comment.