Commit Graph

3 Commits

Author SHA1 Message Date
Mike Edmunds
ae6d730c46 Upgrade pre-commit tools; Update black and isort to Python 3.8 profiles 2024-08-07 13:27:40 -07:00
Mike Edmunds
25980d8a74 Upgrade flake8
Bump flake8 version to avoid
checking punctuation inside
strings under Python 3.12.
2024-05-16 11:36:57 -07:00
medmunds
40891fcb4a Apply code styles via pre-commit
- Add black and isort for Python styling
- Add doc8 for reStructuredText styling
- Add prettier for css/html/js/md/yaml styling
- Run all styling tools from pre-commit hooks
- Adjust flake8 config for compatibility with black
  (and current Django style)
- Add some other helpful pre-commit hooks
- Update editorconfig to match Django
  (with a few necessary adjustments for Anymail)
- Update `tox -e lint` to run all pre-commit hooks
- Update contributing docs
2023-02-06 15:05:24 -08:00