You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR adds `black` and `isort` style formatting and checking, and
requires future code changes to comply with `black` and `isort` styles.
- New workflow `check-style.yml` that runs `black`, `isort` and `flake8`
checks
- Removes `flake8` check from test workflow
- `etstool.py` support for both checking and fixing style, via new
`style` command (with subcommands `fix` and `check`)
- removed old `flake8` command from `etstool.py`
Note: I'm installing the style-related packages from PyPI in
`etstool.py`, so that `etstool.py` and the new workflow are installing
the same package versions. I'm also fixing black to version 23.x so that
we don't suddenly get style failures for the first Black release in 2024
(or later years) - see Black's stability policy here:
https://black.readthedocs.io/en/stable/the_black_code_style/index.html#stability-policyCloses#527
We should consider applying black and isort prior to the Envisage 7.0 release.
The text was updated successfully, but these errors were encountered: