File tree Expand file tree Collapse file tree 6 files changed +26
-16
lines changed Expand file tree Collapse file tree 6 files changed +26
-16
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,17 @@ repos:
2525 - id : " trailing-whitespace"
2626
2727 - repo : " https://github.com/asottile/pyupgrade"
28- rev : " v3.18 .0"
28+ rev : " v3.19 .0"
2929 hooks :
3030 - id : " pyupgrade"
3131 name : " Enforce Python 3.9+ idioms"
3232 args : ["--py39-plus"]
3333
34+ - repo : " https://github.com/sirosen/slyp"
35+ rev : " 0.8.1"
36+ hooks :
37+ - id : " slyp"
38+
3439 - repo : " https://github.com/psf/black-pre-commit-mirror"
3540 rev : " 24.10.0"
3641 hooks :
@@ -59,6 +64,11 @@ repos:
5964 - id : " check-dependabot"
6065 - id : " check-readthedocs"
6166
67+ - repo : " https://github.com/rhysd/actionlint"
68+ rev : " v1.7.3"
69+ hooks :
70+ - id : " actionlint"
71+
6272 - repo : " https://github.com/kurtmckee/pre-commit-hooks"
6373 rev : " v0.1.1"
6474 hooks :
Original file line number Diff line number Diff line change @@ -59,6 +59,16 @@ strict = true
5959sqlite_cache = true
6060
6161
62+ # pytest
63+ # ------
64+
65+ [tool .pytest .ini_options ]
66+ addopts = " --color=yes"
67+ filterwarnings = [
68+ " error" ,
69+ ]
70+
71+
6272# scriv
6373# -----
6474
@@ -81,13 +91,3 @@ fragment_directory = "changelog.d"
8191insert_marker = " scriv-insert-here"
8292main_branches = [" main" , " releases" ]
8393new_fragment_template = " file: fragment-template.rst.txt"
84-
85-
86- # pytest
87- # ------
88-
89- [tool .pytest .ini_options ]
90- addopts = " --color=yes"
91- filterwarnings = [
92- " error" ,
93- ]
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ idna==3.10 ; python_version >= "3.9"
88imagesize == 1.4.1 ; python_version >= "3.9"
99importlib-metadata == 8.5.0 ; python_version < "3.10" and python_version >= "3.9"
1010jinja2 == 3.1.4 ; python_version >= "3.9"
11- markupsafe == 3.0.1 ; python_version >= "3.9"
11+ markupsafe == 3.0.2 ; python_version >= "3.9"
1212packaging == 24.1 ; python_version >= "3.9"
1313pygments == 2.18.0 ; python_version >= "3.9"
1414requests == 2.32.3 ; python_version >= "3.9"
Original file line number Diff line number Diff line change 11mypy-extensions == 1.0.0 ; python_version >= "3.9"
2- mypy == 1.12 .0 ; python_version >= "3.9"
2+ mypy == 1.13 .0 ; python_version >= "3.9"
33tomli == 2.0.2 ; python_version < "3.11" and python_version >= "3.9"
44typing-extensions == 4.12.2 ; python_version >= "3.9"
Original file line number Diff line number Diff line change 11colorama == 0.4.6 ; python_version >= "3.9" and sys_platform == "win32"
2- coverage [toml ]== 7.6.3 ; python_version >= "3.9"
2+ coverage [toml ]== 7.6.4 ; python_version >= "3.9"
33exceptiongroup == 1.2.2 ; python_version < "3.11" and python_version >= "3.9"
44importlib-metadata == 8.5.0 ; python_version < "3.10" and python_version >= "3.9"
55iniconfig == 2.0.0 ; python_version >= "3.9"
66packaging == 24.1 ; python_version >= "3.9"
77pluggy == 1.5.0 ; python_version >= "3.9"
8- pytest-randomly == 3.15 .0 ; python_version >= "3.9"
8+ pytest-randomly == 3.16 .0 ; python_version >= "3.9"
99pytest == 8.3.3 ; python_version >= "3.9"
1010tomli == 2.0.2 ; python_full_version < = "3.11.0a6" and python_version >= "3.9"
1111zipp == 3.20.2 ; python_version < "3.10" and python_version >= "3.9"
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ def load(database: pathlib.Path | str | sqlite3.Connection) -> None:
7878
7979
8080class SqliteDistribution (importlib .metadata .Distribution ):
81- def __init__ (self , name : str , connection : sqlite3 .Connection ):
81+ def __init__ (self , name : str , connection : sqlite3 .Connection ) -> None :
8282 self .__name = name
8383 self .__connection = connection
8484 self .__accessor = Accessor (connection )
You can’t perform that action at this time.
0 commit comments