mirror of
https://github.com/MorizzG/tool-default-configs.git
synced 2025-12-06 01:22:41 +00:00
Update pyproject.toml
This commit is contained in:
parent
b3182c7789
commit
aa8691d6bd
1 changed files with 3 additions and 5 deletions
|
|
@ -1,13 +1,11 @@
|
||||||
[tool.black]
|
[tool.black]
|
||||||
line-length = 100
|
line-length = 100
|
||||||
# exclude-extend = '''
|
|
||||||
# '''
|
|
||||||
|
|
||||||
[tool.isort]
|
[tool.isort]
|
||||||
line_length = 100
|
line_length = 100
|
||||||
profile = "black"
|
profile = "black"
|
||||||
known_typing = "typing" # types,typing_extensions,mypy,mypy_extensions
|
known_typing = "typing" # types,typing_extensions,mypy,mypy_extensions
|
||||||
# default: "FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
|
|
||||||
sections = "FUTURE,TYPING,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
|
sections = "FUTURE,TYPING,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
|
||||||
# skip_glob = [""] # files/folders/... to skip
|
# skip_glob = [""] # files/folders/... to skip
|
||||||
# known_first_party = [""] # packages that are forced as first party
|
# known_first_party = [""] # packages that are forced as first party
|
||||||
|
|
@ -17,13 +15,13 @@ float_to_top = true
|
||||||
group_by_package = true
|
group_by_package = true
|
||||||
combine_as_imports = true
|
combine_as_imports = true
|
||||||
|
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
line-length = 100
|
line-length = 100
|
||||||
target-version = "py311"
|
|
||||||
|
|
||||||
[tool.ruff.lint]
|
[tool.ruff.lint]
|
||||||
select = ["E", "F"]
|
select = ["E", "F"]
|
||||||
|
|
||||||
|
|
||||||
[tool.ruff.lint.per-file-ignores]
|
[tool.ruff.lint.per-file-ignores]
|
||||||
"__init__.py" = ["F401"]
|
"__init__.py" = ["F401"]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue