File tree Expand file tree Collapse file tree 2 files changed +29
-29
lines changed
Expand file tree Collapse file tree 2 files changed +29
-29
lines changed Original file line number Diff line number Diff line change 11---
2-
32# Build and test the code, with an optional deploy
43name : Build
54on : [push, pull_request]
65permissions : read-all
76
87jobs :
9- pre-commit :
10- name : Pre-commit (linting)
11- runs-on : ubuntu-latest
12- timeout-minutes : 5
8+ pre-commit :
9+ name : Pre-commit (linting)
10+ runs-on : ubuntu-latest
11+ timeout-minutes : 5
1312
14- steps :
15- - name : Checkout Code
16- uses : actions/checkout@v4
13+ steps :
14+ - name : Checkout Code
15+ uses : actions/checkout@v4
1716
18- - name : Run pre-commit
19- uses :
pre-commit/[email protected] 17+ - name : Run pre-commit
18+ uses :
pre-commit/[email protected] 2019
21- pytest-in-venv :
22- name : Python tests
23- runs-on : ubuntu-latest
24- env :
25- APP_ENVIRONMENT : test
20+ pytest-in-venv :
21+ name : Python tests
22+ runs-on : ubuntu-latest
23+ env :
24+ APP_ENVIRONMENT : test
2625
27- timeout-minutes : 5
26+ timeout-minutes : 5
2827
29- steps :
30- - name : Checkout Code
31- uses : actions/checkout@v4
28+ steps :
29+ - name : Checkout Code
30+ uses : actions/checkout@v4
3231
33- - name : Setup Python
34- uses : actions/setup-python@v5
35- with :
36- python-version : " 3.12"
37- cache : pip
32+ - name : Setup Python
33+ uses : actions/setup-python@v5
34+ with :
35+ python-version : " 3.12"
36+ cache : pip
3837
39- - name : Install dependencies
40- run : pip install -r requirements/requirements-test.txt
38+ - name : Install dependencies
39+ run : pip install -r requirements/requirements-test.txt
4140
42- - name : Run the tests with coverage
43- run : pytest --cov=./ --cov-report=xml
41+ - name : Run the tests with coverage
42+ run : pytest --cov=./ --cov-report=xml
Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ Introduction
44
55## Coding Principles
66
7- Borrowed from the [ zen of python] ( http://c2.com/cgi/wiki?PythonPhilosophy ) , with a couple of changes.
7+ Borrowed from the [ zen of python] ( http://c2.com/cgi/wiki?PythonPhilosophy ) , with a
8+ couple of changes.
89
910``` text
10111. **Readability is the number 1 code quality metric**.
You can’t perform that action at this time.
0 commit comments