Merge pull request 'Add yamllint and actionlint to the dev extra' (#38) from dev-lint-tools into main
This commit was merged in pull request #38.
This commit is contained in:
@@ -6,3 +6,6 @@ rules:
|
|||||||
max: 100
|
max: 100
|
||||||
truthy:
|
truthy:
|
||||||
check-keys: false
|
check-keys: false
|
||||||
|
# Git on Windows checks files out with CRLF; the repository blob has LF.
|
||||||
|
new-lines:
|
||||||
|
type: platform
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ There are no runtime dependencies: the program uses only the Python standard lib
|
|||||||
## Set up
|
## Set up
|
||||||
|
|
||||||
Create a local virtual environment named `.venv` in the project folder, upgrade `pip`
|
Create a local virtual environment named `.venv` in the project folder, upgrade `pip`
|
||||||
and install the project with its development tools (pytest, ruff, mypy).
|
and install the project with its development tools (pytest, ruff, mypy, yamllint, actionlint).
|
||||||
|
|
||||||
### Windows powershell
|
### Windows powershell
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -22,7 +22,8 @@ classifiers = [
|
|||||||
|
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
dev = ["pytest==9.1.1", "ruff==0.17.0", "mypy==2.4.0",
|
dev = ["pytest==9.1.1", "ruff==0.17.0", "mypy==2.4.0",
|
||||||
"pyyaml==6.0.3", "types-PyYAML==6.0.12.20260906"]
|
"pyyaml==6.0.3", "types-PyYAML==6.0.12.20260906",
|
||||||
|
"yamllint==1.38.0", "actionlint-py==1.7.12.25"]
|
||||||
|
|
||||||
[tool.setuptools.packages.find]
|
[tool.setuptools.packages.find]
|
||||||
where = ["src"]
|
where = ["src"]
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
Projektet kræver **Python 3.13 eller nyere**. Det har ingen kørselsafhængigheder; `pytest`, `ruff` og `mypy` er udviklingsværktøjer.
|
Projektet kræver **Python 3.13 eller nyere**. Det har ingen kørselsafhængigheder; `pytest`, `ruff`, `mypy`, `yamllint` og `actionlint` er udviklingsværktøjer.
|
||||||
|
|
||||||
## Windows PowerShell
|
## Windows PowerShell
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Install
|
# Install
|
||||||
|
|
||||||
The project needs **Python 3.13 or later**. It has no runtime dependencies; `pytest`, `ruff` and `mypy` are development tools.
|
The project needs **Python 3.13 or later**. It has no runtime dependencies; `pytest`, `ruff`, `mypy`, `yamllint` and `actionlint` are development tools.
|
||||||
|
|
||||||
## Windows PowerShell
|
## Windows PowerShell
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Pemasangan
|
# Pemasangan
|
||||||
|
|
||||||
Projek ini memerlukan **Python 3.13 atau lebih baharu**. Ia tiada kebergantungan masa jalan; `pytest`, `ruff` dan `mypy` ialah alat pembangunan.
|
Projek ini memerlukan **Python 3.13 atau lebih baharu**. Ia tiada kebergantungan masa jalan; `pytest`, `ruff`, `mypy`, `yamllint` dan `actionlint` ialah alat pembangunan.
|
||||||
|
|
||||||
## Windows PowerShell
|
## Windows PowerShell
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user