Skip to content

Commit

Permalink
chore(pyproject.toml): Re-organise sections
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Vasenin committed Dec 21, 2023
1 parent 7ca625f commit 351fe27
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ dev = [
"ruff",
]

[tool.black]
line-length = 120
skip-magic-trailing-comma = true

[tool.flit.sdist]
include = [
"README.md",
Expand All @@ -52,6 +48,10 @@ version_variables = ["pycs/__init__.py:__version__"]
minversion = "6.0"
addopts = "--doctest-modules"

[tool.black]
line-length = 120
skip-magic-trailing-comma = true

[tool.ruff]
target-version = "py39"
line-length = 120
Expand All @@ -69,6 +69,9 @@ ignore = ["UP035", "RET503", "S113", "TD002", "TD003", "N817", "FIX002", "TRY003
"UP007", "A003", "PTH123", "E203", "FURB113",
]
[tool.ruff.per-file-ignores]
"**/__init__.py" = [
"F401", # Allow unused imports in module files
]
"tests/**/*.py" = [
"S101", # Asserts in tests are fine
"T201", # Prints are useful for debugging
Expand All @@ -81,6 +84,3 @@ ignore = ["UP035", "RET503", "S113", "TD002", "TD003", "N817", "FIX002", "TRY003
"tests/data/**/*.py" = [
"TID252", # Have to use relative imports in configs
]
"**/__init__.py" = [
"F401", # Allow unused imports in module files
]

0 comments on commit 351fe27

Please sign in to comment.