Skip to content

Commit 62c5d0c

Browse files
ci(pre-commit.ci): autoupdate (#26)
* ci(pre-commit.ci): autoupdate updates: - [github.com/abravalheri/validate-pyproject: v0.16 → v0.23](abravalheri/validate-pyproject@v0.16...v0.23) - [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.8.1](astral-sh/ruff-pre-commit@v0.4.3...v0.8.1) - [github.com/psf/black: 24.4.2 → 24.10.0](psf/black@24.4.2...24.10.0) - [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.13.0](pre-commit/mirrors-mypy@v1.10.0...v1.13.0) * style(pre-commit.ci): auto fixes [...] * update --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Talley Lambert <[email protected]>
1 parent c07cb4e commit 62c5d0c

File tree

6 files changed

+11
-7
lines changed

6 files changed

+11
-7
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,23 @@ ci:
99

1010
repos:
1111
- repo: https://github.com/abravalheri/validate-pyproject
12-
rev: v0.16
12+
rev: v0.23
1313
hooks:
1414
- id: validate-pyproject
1515

1616
- repo: https://github.com/astral-sh/ruff-pre-commit
17-
rev: v0.4.3
17+
rev: v0.8.5
1818
hooks:
1919
- id: ruff
2020
args: [--fix]
2121

2222
- repo: https://github.com/psf/black
23-
rev: 24.4.2
23+
rev: 24.10.0
2424
hooks:
2525
- id: black
2626

2727
- repo: https://github.com/pre-commit/mirrors-mypy
28-
rev: v1.10.0
28+
rev: v1.14.1
2929
hooks:
3030
- id: mypy
3131
files: "^src/"

src/pyconify/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"collection",
1515
"collections",
1616
"css",
17+
"freedesktop_theme",
1718
"get_cache_directory",
1819
"icon_data",
1920
"iconify_version",
@@ -22,7 +23,6 @@
2223
"search",
2324
"svg",
2425
"svg_path",
25-
"freedesktop_theme",
2626
]
2727

2828
from ._cache import clear_cache, get_cache_directory

tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from unittest.mock import patch
55

66
import pytest
7+
78
from pyconify import _cache, api, get_cache_directory
89

910

tests/test_cache.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
from typing import Iterator
44
from unittest.mock import patch
55

6-
import pyconify
76
import pytest
87
import requests
8+
9+
import pyconify
910
from pyconify import _cache
1011
from pyconify._cache import _SVGCache, clear_cache, get_cache_directory
1112

tests/test_freedesktop.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from typing import TYPE_CHECKING
44

55
import pytest
6+
67
from pyconify import freedesktop_theme
78

89
if TYPE_CHECKING:

tests/test_pyconify.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
from pathlib import Path
22

3-
import pyconify
43
import pytest
54

5+
import pyconify
6+
67

78
def test_collections() -> None:
89
result = pyconify.collections("bi", "fa")

0 commit comments

Comments
 (0)