MDAnalysis / cookiecutter-mdakit

Cookiecutter for Python packages based on MDAnalysis
MIT License
7 stars 5 forks source link

Add black configuration consistent with other tools? #73

Closed RMeli closed 1 year ago

RMeli commented 1 year ago

pyproject.toml:

[tool.black]
line-length = 80
extend-exclude = "versioneer.py"
lilyminium commented 1 year ago

Sounds good. 80 not 79? Is that one of the black defaults?

RMeli commented 1 year ago

Black's default is 88 (see https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#line-length for more info).

I'm suggesting 80 because it is the setting used for other tools in setup.cfg.