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