Skip to content

Commit 0340e2c

Browse files
committed
Updated workflow versions
1 parent 8a5fc7f commit 0340e2c

File tree

7 files changed

+11
-16
lines changed

7 files changed

+11
-16
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
python-version:
17-
- 3.10
18-
- 3.11
19-
- 3.12
20-
- 3.13
16+
python-version: ["3.10", "3.11", "3.12", "3.13"]
2117

2218
steps:
2319
- uses: actions/checkout@v4
@@ -26,7 +22,7 @@ jobs:
2622
with:
2723
python-version: ${{ matrix.python-version }}
2824

29-
- uses: actions/cache@v2
25+
- uses: actions/cache@v4
3026
with:
3127
path: ~/.cache/pip
3228
key: ${{ runner.os }}-pip-${{ hashFiles('requirements/*.txt') }}

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717

1818
- uses: actions/setup-python@v5
1919

20-
- uses: pre-commit/action@v2.0.0
20+
- uses: pre-commit/action@v3.0.1
2121
with:
2222
token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ html/
99
htmlcov/
1010
*.egg-info/
1111
.tox/
12+
/temp
13+
/venv

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.3.0
3+
rev: v5.0.0
44
hooks:
55
- id: check-added-large-files
66
- id: check-case-conflict
@@ -11,24 +11,24 @@ repos:
1111
- id: end-of-file-fixer
1212
- id: trailing-whitespace
1313
- repo: https://github.com/psf/black
14-
rev: 22.8.0
14+
rev: 25.1.0
1515
hooks:
1616
- id: black
1717
language_version: python3
1818
- repo: https://github.com/pycqa/isort
19-
rev: 5.10.1
19+
rev: 6.0.1
2020
hooks:
2121
- id: isort
2222
- repo: https://github.com/PyCQA/flake8
23-
rev: 5.0.4
23+
rev: 7.1.2
2424
hooks:
2525
- id: flake8
2626
additional_dependencies:
2727
- flake8-bugbear
2828
- flake8-comprehensions
2929
- flake8-tidy-imports
3030
- repo: https://github.com/mgedmin/check-manifest
31-
rev: "0.48"
31+
rev: "0.50"
3232
hooks:
3333
- id: check-manifest
3434
args: [--no-build-isolation]

example/example/notes/migrations/0001_initial.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
class Migration(migrations.Migration):
5-
65
initial = True
76

87
dependencies = []

mkdocs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
next_url_map[path] = rel + path_list[idx + 1][:-3] + suffix
6262

6363

64-
for (dirpath, _dirnames, filenames) in os.walk(docs_dir):
64+
for dirpath, _dirnames, filenames in os.walk(docs_dir):
6565
relative_dir = dirpath.replace(docs_dir, "").lstrip(os.path.sep)
6666
build_dir = os.path.join(html_dir, relative_dir)
6767

testsettings.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import django
2-
31
DATABASES = {
42
"default": {
53
"ENGINE": "django.db.backends.sqlite3",

0 commit comments

Comments
 (0)