Skip to content

Commit 6f4a4a6

Browse files
committed
Coverage...
1 parent b77b2a9 commit 6f4a4a6

File tree

11 files changed

+1230
-345
lines changed

11 files changed

+1230
-345
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CI
22

33
on:
44
push:
5-
branches: [main, master, develop]
5+
branches: [ main, master, develop ]
66
pull_request:
7-
branches: [main, master, develop]
7+
branches: [ main, master, develop ]
88
workflow_dispatch:
99

1010
jobs:
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
16+
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
1717

1818
steps:
1919
- uses: actions/checkout@v4
@@ -71,7 +71,7 @@ jobs:
7171
build:
7272
name: Build Distribution
7373
runs-on: ubuntu-latest
74-
needs: [test]
74+
needs: [ test ]
7575

7676
steps:
7777
- uses: actions/checkout@v4

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Pre-commit
33
on:
44
pull_request:
55
push:
6-
branches: [main, master, develop]
6+
branches: [ main, master, develop ]
77

88
jobs:
99
pre-commit:

.pre-commit-config.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,38 +8,38 @@ repos:
88
rev: v4.5.0
99
hooks:
1010
- id: trailing-whitespace
11-
args: [--markdown-linebreak-ext=md]
11+
args: [ --markdown-linebreak-ext=md ]
1212
- id: end-of-file-fixer
1313
- id: check-yaml
14-
args: [--allow-multiple-documents]
14+
args: [ --allow-multiple-documents ]
1515
- id: check-toml
1616
- id: check-json
1717
- id: check-added-large-files
18-
args: ["--maxkb=1000"]
18+
args: [ "--maxkb=1000" ]
1919
- id: check-case-conflict
2020
- id: check-merge-conflict
2121
- id: check-docstring-first
2222
- id: debug-statements
2323
- id: detect-private-key
2424
- id: mixed-line-ending
25-
args: [--fix=lf]
25+
args: [ --fix=lf ]
2626
- id: name-tests-test
27-
args: [--pytest-test-first]
27+
args: [ --pytest-test-first ]
2828

2929
# Python code formatting
3030
- repo: https://github.com/psf/black
3131
rev: 24.1.0
3232
hooks:
3333
- id: black
3434
language_version: python3
35-
args: [--line-length=120]
35+
args: [ --line-length=120 ]
3636

3737
# Import sorting
3838
- repo: https://github.com/PyCQA/isort
3939
rev: 5.13.2
4040
hooks:
4141
- id: isort
42-
args: [--profile=black, --line-length=120]
42+
args: [ --profile=black, --line-length=120 ]
4343

4444
# Linting
4545
- repo: https://github.com/PyCQA/flake8
@@ -62,16 +62,16 @@ repos:
6262
rev: v1.8.0
6363
hooks:
6464
- id: mypy
65-
args: [--ignore-missing-imports, --no-implicit-optional]
66-
additional_dependencies: [types-requests]
65+
args: [ --ignore-missing-imports, --no-implicit-optional ]
66+
additional_dependencies: [ types-requests ]
6767
exclude: ^tests/
6868

6969
# Security checks
7070
- repo: https://github.com/PyCQA/bandit
7171
rev: 1.7.6
7272
hooks:
7373
- id: bandit
74-
args: [-ll, --skip=B608]
74+
args: [ -ll, --skip=B608 ]
7575
exclude: ^tests/
7676

7777
# Docstring formatting (disabled for more permissive setup)
@@ -87,8 +87,8 @@ repos:
8787
rev: v4.0.0-alpha.8
8888
hooks:
8989
- id: prettier
90-
types_or: [yaml, markdown]
91-
args: [--prose-wrap=always]
90+
types_or: [ yaml, markdown ]
91+
args: [ --prose-wrap=always ]
9292

9393
# Shell script checks
9494
- repo: https://github.com/shellcheck-py/shellcheck-py
@@ -102,22 +102,22 @@ repos:
102102
rev: v0.38.0
103103
hooks:
104104
- id: markdownlint
105-
args: [--fix]
105+
args: [ --fix ]
106106
exclude: ^.github/
107107

108108
# Python upgrade syntax
109109
- repo: https://github.com/asottile/pyupgrade
110110
rev: v3.15.0
111111
hooks:
112112
- id: pyupgrade
113-
args: [--py38-plus]
113+
args: [ --py38-plus ]
114114

115115
# Check for common misspellings
116116
- repo: https://github.com/codespell-project/codespell
117117
rev: v2.2.6
118118
hooks:
119119
- id: codespell
120-
args: ["--skip=.git,*.pyc,*.pyo,*.egg-info,.venv,build,dist"]
120+
args: [ "--skip=.git,*.pyc,*.pyo,*.egg-info,.venv,build,dist" ]
121121
exclude: ^(.github/|docs/|.venv/)
122122

123123
# Local hooks
@@ -129,7 +129,7 @@ repos:
129129
language: system
130130
pass_filenames: false
131131
always_run: true
132-
stages: [pre-push]
132+
stages: [ pre-push ]
133133

134134
- id: requirements-txt-fixer
135135
name: Fix requirements.txt
@@ -143,4 +143,4 @@ ci:
143143
autofix_commit_msg: "[pre-commit.ci] auto fixes from pre-commit hooks"
144144
autoupdate_schedule: monthly
145145
autoupdate_commit_msg: "[pre-commit.ci] pre-commit autoupdate"
146-
skip: [tests] # Don't run tests in pre-commit CI
146+
skip: [ tests ] # Don't run tests in pre-commit CI

0 commit comments

Comments
 (0)