Skip to content

Commit 0d702f4

Browse files
author
Nick Sullivan
committed
🎨 Standardize YAML indentation to 2 spaces
Improves consistency across the codebase by using standard 2-space indentation in GitHub Actions workflow. Also fixes line wrapping in README for better readability at 80 character limit.
1 parent 088f32f commit 0d702f4

File tree

2 files changed

+29
-29
lines changed

2 files changed

+29
-29
lines changed

.github/workflows/build.yml

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,42 @@
11
---
2-
32
# Build and test the code, with an optional deploy
43
name: Build
54
on: [push, pull_request]
65
permissions: read-all
76

87
jobs:
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

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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
1011
1. **Readability is the number 1 code quality metric**.

0 commit comments

Comments
 (0)