Closed hugovk closed 1 year ago
Let's use the popular https://github.com/psf/black autoformatter for Python code, it makes everything nice and consistent.
Similarly, let's use https://github.com/PyCQA/isort for sorting imports, https://github.com/prettier/prettier for Markdown, and some other linters, and check them on GitHub Actions.
I put the isort config in pyproject.toml; this is the file preferred for modern packaging and config, and in a future PR I can migrate setup.cfg and setup.py over too.
pyproject.toml
setup.cfg
setup.py
Merge conflict resolved.
Let's use the popular https://github.com/psf/black autoformatter for Python code, it makes everything nice and consistent.
Similarly, let's use https://github.com/PyCQA/isort for sorting imports, https://github.com/prettier/prettier for Markdown, and some other linters, and check them on GitHub Actions.
I put the isort config in
pyproject.toml
; this is the file preferred for modern packaging and config, and in a future PR I can migratesetup.cfg
andsetup.py
over too.