Skip to content

Commit

Permalink
update yaml lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gboeing committed Jan 13, 2025
1 parent 8e07287 commit e96d508
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,13 @@ jobs:
run: python -m sphinx -E -W --keep-going -b html ./docs/source ./docs/build/html

- name: Test code and coverage
run: python -m pytest --verbose --maxfail=1 --typeguard-packages=osmnx --cov=osmnx --cov-report=xml
run: >
python -m pytest
--verbose
--maxfail=1
--typeguard-packages=osmnx
--cov=osmnx
--cov-report=xml
- name: Upload coverage report
uses: codecov/codecov-action@v5
Expand Down
3 changes: 1 addition & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ repos:
- id: fix-byte-order-marker
- id: mixed-line-ending
- id: no-commit-to-branch
args: [--branch=main]
- id: pretty-format-json
args: [--autofix]
- id: trailing-whitespace
Expand All @@ -28,7 +27,7 @@ repos:
rev: v1.35.1
hooks:
- id: yamllint
args: [--strict, --config-file, ./tests/.yamllint.yml]
args: [--strict, --config-file=./tests/.yamllint.yml]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.1
Expand Down
2 changes: 1 addition & 1 deletion tests/.yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ extends: default
rules:
document-start: disable
line-length:
max: 110
max: 100
quoted-strings:
quote-type: single
required: only-when-needed
Expand Down

0 comments on commit e96d508

Please sign in to comment.