Logo
Explore Help
Sign In
logos-storage/deluge
1
0
Fork 0
You've already forked deluge
mirror of https://github.com/logos-storage/deluge.git synced 2026-01-03 13:43:08 +00:00
Code Issues Packages Projects Releases Wiki Activity
deluge/pyproject.toml

9 lines
108 B
TOML
Raw Normal View History

[Lint] Use Black to auto-format code The move to using auto-formatter makes it easier to read, submit and speeds up development time. https://github.com/ambv/black/ Although I would prefer 79 chars, the default line length of 88 chars used by black suffices. The flake8 line length remains at 120 chars since black does not touch comments or docstrings and this will require another round of fixes. The only black setting that is not standard is the use of double-quotes for strings so disabled any formatting of these. Note however that flake8 will still flag usage of double-quotes. I may change my mind on double vs single quotes but for now leave them. A new pyproject.toml file has been created for black configuration.
2018-10-02 15:39:51 +01:00
[build-system]
requires = [
"setuptools",
"wheel",
]
[tool.black]
skip-string-normalization = true
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.0 Page: 51ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API