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
Copy file name to clipboardExpand all lines: README.md
+6-8Lines changed: 6 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,18 +2,16 @@
2
2
3
3
This is a template repository for any Python project that comes with the following dev tools:
4
4
5
+
*`ruff`: identifies many errors and style issues (`flake8`, `isort`, `pyupgrade`)
5
6
*`black`: auto-formats code
6
-
*`isort`: sorts the imports
7
-
*`ruff`: looks for common errors
8
-
*`pyupgrade`: upgrades Python syntax
9
7
10
-
All of those checks are run as pre-commit hooks using the `pre-commit` library.
8
+
Those checks are run as pre-commit hooks using the `pre-commit` library.
11
9
12
10
It includes `pytest` for testing plus the `pytest-cov` plugin to measure coverage.
13
11
14
12
The checks and tests are all run using Github actions on every pull request and merge to main.
15
13
16
-
This repository is setup for Python 3.10. To customize that, change the `VARIANT` argument in `.devcontainer/devcontainer.json`, and change the flag passed into `pyupgrade`in `.precommit-config.yaml` and `.github/workflows/python.yaml`.
14
+
This repository is setup for Python 3.10. To customize that, change the `VARIANT` argument in `.devcontainer/devcontainer.json`, change the config options in `.precommit-config.yaml` and change the version number in`.github/workflows/python.yaml`.
0 commit comments