Skip to content

Commit

Permalink
stricter yaml linting
Browse files Browse the repository at this point in the history
  • Loading branch information
gboeing committed Jan 1, 2025
1 parent fd06ab1 commit d4f0636
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ labels: bug
body:
- type: markdown
attributes:
value: "Thanks for using OSMnx!"
value: Thanks for using OSMnx!

- type: checkboxes
id: contributing
Expand Down
5 changes: 3 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_proposal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ labels: enh
body:
- type: markdown
attributes:
value: "Thanks for using OSMnx!"
value: Thanks for using OSMnx!

- type: checkboxes
id: contributing
attributes:
label: Contributing guidelines
description: |
Before you proceed, read the [contributing guidelines](../blob/main/CONTRIBUTING.md)
Before you proceed, read the
[contributing guidelines](../blob/main/CONTRIBUTING.md)
regarding where to ask usage questions and how to propose a feature.
options:
- label: I understand the contributing guidelines
Expand Down
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
- package-ecosystem: github-actions
directory: /
schedule:
interval: "weekly"
interval: weekly
14 changes: 12 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,14 @@ repos:
rev: v1.35.1
hooks:
- id: yamllint
args: [--strict, -d, "{extends: relaxed, rules: {line-length: {max: 110}}}"]
args:
- --strict
- >
-d={extends: default, rules: {
document-start: disable,
line-length: {max: 110},
quoted-strings: {quote-type: single, required: only-when-needed},
truthy: {check-keys: false}}}
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.4
Expand All @@ -40,4 +47,7 @@ repos:
hooks:
- id: mypy
additional_dependencies:
[matplotlib, pandas-stubs, pytest, types-requests]
- matplotlib
- pandas-stubs
- pytest
- types-requests

0 comments on commit d4f0636

Please sign in to comment.