Skip to content

Commit

Permalink
pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
radupotop committed Apr 5, 2024
1 parent a380848 commit f115ca4
Showing 1 changed file with 11 additions and 23 deletions.
34 changes: 11 additions & 23 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
[tool.black]
[tool.ruff]
line-length = 90
skip-string-normalization = true
target-version = ['py36', 'py37', 'py38']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| venv

# The following are specific to Black, you probably don't want those.
| blib2to3
| tests/data
| profiling
)/
'''
lint.select = ["E", "F"]

fix = true
lint.unfixable = ["F401"] # unused imports

[tool.ruff.format]
quote-style = "preserve"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "lf"

0 comments on commit f115ca4

Please sign in to comment.