forked from vbatts/maubot_reactbot
Blacken and isort code, add pre-commit and CI linting
This commit is contained in:
parent
3507b3b63a
commit
3ca366fea9
8 changed files with 125 additions and 52 deletions
11
pyproject.toml
Normal file
11
pyproject.toml
Normal file
|
@ -0,0 +1,11 @@
|
|||
[tool.isort]
|
||||
profile = "black"
|
||||
force_to_top = "typing"
|
||||
from_first = true
|
||||
combine_as_imports = true
|
||||
known_first_party = ["mautrix", "maubot"]
|
||||
line_length = 99
|
||||
|
||||
[tool.black]
|
||||
line-length = 99
|
||||
target-version = ["py38"]
|
Loading…
Add table
Add a link
Reference in a new issue