Skip to content

Commit 00667d6

Browse files
committed
- LINT: Add linting for .pyt files
- CI: Add pre-commit bot
1 parent 3cadec7 commit 00667d6

4 files changed

Lines changed: 11 additions & 2 deletions

File tree

.gitlab-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
stages:
2+
- bot
23
- lint
34
- test
45
- deploy

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ci:
88
repos:
99

1010
- repo: https://github.com/pre-commit/pre-commit-hooks.git
11-
rev: v5.0.0
11+
rev: v6.0.0
1212
hooks:
1313
- id: check-json
1414
- id: check-yaml
@@ -19,7 +19,7 @@ repos:
1919

2020
- repo: https://github.com/astral-sh/ruff-pre-commit
2121
# Ruff version.
22-
rev: v0.11.0
22+
rev: v0.14.1
2323
hooks:
2424
# Run the linter.
2525
- id: ruff

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release History
22

3+
## 2.4.13 (2025-mm-dd)
4+
5+
- LINT: Add linting for `.pyt` files
6+
- CI: Add pre-commit bot
7+
-
38
## 2.4.12 (2025-07-31)
49
- CI: Use new groupware CI template for triggering sertit_atools update
510
- Change arcgispro toolbox from category RRM to CEMS RRM

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ dev = [
3838
"tempenv",
3939
]
4040

41+
[tool.ruff]
42+
extend-include = ["*.pyt"]
43+
4144
[tool.ruff.lint]
4245
select = [
4346
# pycodestyle

0 commit comments

Comments
 (0)