Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Black for autoformatting #48

Merged
merged 2 commits into from
Apr 2, 2020
Merged

Add Black for autoformatting #48

merged 2 commits into from
Apr 2, 2020

Conversation

cwdavies
Copy link
Contributor

@cwdavies cwdavies commented Mar 30, 2020

This commit has had black (https://github.com/psf/black), the autoformatter, run on the wagtailflags package and setup.py

It also adds black --check to the tox lint environment and adds a section in CONTRIBUTING.md about code style and tools.

tox.ini Outdated Show resolved Hide resolved
…ormatter, run on the `wagtailflags` package and `setup.py`

It also adds `black --check` to the `tox` `lint` environment and adds a section in `CONTRIBUTING.md` about code style and tools.
@cwdavies cwdavies changed the title Add black autoformatter Add Black for autoformatting Mar 31, 2020
@cwdavies cwdavies requested a review from willbarton April 1, 2020 12:16
@cwdavies cwdavies merged commit f60fd2a into master Apr 2, 2020
@cwdavies cwdavies deleted the add-black branch April 2, 2020 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants