Skip to content

Commit cda1e82

Browse files
authored
Merge pull request #5 from dribia/4-sparkles-add-check-jsonschema-to-db
✨ add `check-jsonschema` to db
2 parents 8405728 + a0a198d commit cda1e82

File tree

6 files changed

+227
-151
lines changed

6 files changed

+227
-151
lines changed

.github/CODEOWNERS

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Lines starting with '#' are comments.
2+
# Each line is a file pattern followed by one or more owners.
3+
4+
# More details are here: https://help.github.com/articles/about-codeowners/
5+
6+
# The '*' pattern is global owners.
7+
8+
# Order is important. The last matching pattern has the most precedence.
9+
# The folders are ordered as follows:
10+
11+
# In each subsection folders are ordered first by depth, then alphabetically.
12+
# This should make it easy to add new rules without breaking existing ones.
13+
14+
# Global rule:
15+
* @dribia/libraries-admin

.github/dependabot.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
version: 2
2+
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"
8+
commit-message:
9+
prefix: ":arrow_up:"
10+
groups:
11+
all:
12+
patterns:
13+
- "*"
14+
15+
- package-ecosystem: "uv"
16+
directory: "/"
17+
schedule:
18+
interval: "weekly"
19+
allow:
20+
- dependency-type: "all"
21+
groups:
22+
all:
23+
patterns:
24+
- "*"
25+
commit-message:
26+
prefix: ":arrow_up:"
27+
open-pull-requests-limit: 10
28+
versioning-strategy: "increase"

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repos:
1616

1717
# general checks (see here: https://pre-commit.com/hooks.html)
1818
- repo: https://github.com/pre-commit/pre-commit-hooks
19-
rev: v5.0.0
19+
rev: v6.0.0
2020
hooks:
2121
- id: check-added-large-files
2222
- id: check-json
@@ -29,7 +29,7 @@ repos:
2929
- id: check-toml
3030

3131
- repo: https://github.com/astral-sh/ruff-pre-commit
32-
rev: v0.12.3
32+
rev: v0.13.0
3333
hooks:
3434
- id: ruff-check
3535
types_or: [python, pyi, jupyter]
@@ -40,8 +40,8 @@ repos:
4040

4141
# mypy - lint-like type checking
4242
- repo: https://github.com/pre-commit/mirrors-mypy
43-
rev: v1.16.1
43+
rev: v1.18.1
4444
hooks:
4545
- id: mypy
4646
additional_dependencies:
47-
- types-pyyaml==6.0.12.20250516
47+
- types-pyyaml==6.0.12.20250915

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ swu = "sync_with_uv.main:main"
1414

1515
[dependency-groups]
1616
dev = [
17-
"pre-commit>=4.2.0,<5",
17+
"pre-commit>=4.3.0,<5",
1818
]
1919
ci = [
2020
"setuptools>=80.9.0,<81",
2121
]
2222
lint = [
23-
"mypy==1.16.1",
24-
"ruff==0.12.3",
23+
"ruff==0.13.0",
24+
"mypy==1.18.1",
2525
"types-pyyaml>=6.0.12,<7",
2626
]
2727
test = [
28-
"pytest>=8.4.1,<9",
29-
"pytest-cov>=6.2.1,<7",
30-
"coverage[toml]>=6.5",
28+
"pytest>=8.4.2,<9",
29+
"pytest-cov>=7.0.0,<8",
30+
"coverage[toml]>=7.10.6,<8",
3131
]
3232

3333
[tool.uv]

sync_with_uv/db.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@
3737
"repo": "https://github.com/asottile/pyupgrade",
3838
"rev": "v${rev}",
3939
},
40+
"check-jsonschema": {
41+
"repo": "https://github.com/python-jsonschema/check-jsonschema",
42+
"rev": "${rev}",
43+
},
4044
"ruff": {
4145
"repo": "https://github.com/astral-sh/ruff-pre-commit",
4246
"rev": "v${rev}",

0 commit comments

Comments
 (0)