File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Bandit Security Analysis
1+ name : Security Analysis (bandit)
22
3- on : [push]
3+ on :
4+ push :
5+ branches-ignore :
6+ - main
47
58jobs :
69 bandit :
1114 with :
1215 src : " src"
1316 options : " -c pyproject.toml -r"
14- pip_install_command : " pip install .[dev]"
15- python_version : " 3.11"
17+ python_version : " 3.13"
Original file line number Diff line number Diff line change 1+ name : Django Check
2+
3+ on :
4+ pull_request :
5+ types : [opened, synchronize, reopened]
6+
7+ jobs :
8+ django-check :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - uses : actions/checkout@v4
13+
14+ - uses : actions/setup-python@v4
15+ with :
16+ python-version : " 3.13"
17+
18+ - name : Install dependencies
19+ run : |
20+ pip install -e .
21+
22+ - name : Run Django check
23+ env :
24+ DJANGO_SETTINGS_MODULE : core.settings
25+ DB_ENGINE : django.db.backends.sqlite3
26+ DB_NAME : test_db.sqlite3
27+ SECRET_KEY : test_secret_key
28+ DJANGO_DEBUG : False
29+ run : |
30+ cd src/django_project
31+ python manage.py check
Original file line number Diff line number Diff line change 1+ name : Dependency Consistency Check (fawltydeps)
2+
3+ on :
4+ pull_request :
5+ types : [opened, synchronize, reopened]
6+
7+ jobs :
8+ fawltydeps :
9+ runs-on : ubuntu-latest
10+ name : " fawltydeps"
11+ steps :
12+ - uses : actions/checkout@v4
13+ - uses : actions/setup-python@v4
14+ with :
15+ python-version : " 3.13"
16+ - name : Install dependencies
17+ run : |
18+ pip install -e .[dev]
19+ - name : Run fawltydeps
20+ run : |
21+ fawltydeps
Original file line number Diff line number Diff line change 1- name : isort
1+ name : Import Order Validation ( isort)
22
3- on : [push]
3+ on :
4+ push :
5+ branches-ignore :
6+ - main
47
58jobs :
69 isort :
710 runs-on : ubuntu-latest
811 name : " isort"
12+ if : github.event.created == false # Skip if this push created a new branch
913 steps :
1014 - uses : davidslusser/actions_python_isort@v1.0.1
1115 with :
1216 src : " src/django_project"
1317 options : " --check --diff"
14- python_version : " 3.11 "
18+ python_version : " 3.13 "
Original file line number Diff line number Diff line change 1- name : mypy
1+ name : Type Checking ( mypy)
22
3- on : [push]
3+ on :
4+ push :
5+ branches-ignore :
6+ - main
47
58jobs :
69 mypy :
710 runs-on : ubuntu-latest
811 name : " mypy"
12+ if : github.event.created == false # Skip if this push created a new branch
913 steps :
1014 - uses : davidslusser/actions_python_mypy@v1.0.1
1115 with :
1216 src : " src"
13- options : " -v "
17+ options : " "
1418 pip_install_command : " pip install -e .[dev]"
19+ python_version : " 3.13"
Original file line number Diff line number Diff line change 1- name : radon
1+ name : Code Metrics Analysis ( radon)
22
3- on : [push]
3+ on :
4+ push :
5+ branches-ignore :
6+ - main
47
58jobs :
69 radon :
710 runs-on : ubuntu-latest
811 name : " radon"
12+ if : github.event.created == false # Skip if this push created a new branch
913 steps :
1014 - uses : actions/checkout@v3
1115 - uses : davidslusser/actions_python_radon@v1.0.0
Original file line number Diff line number Diff line change 1- name : ruff_format
1+ name : Code Consistency Check (ruff format)
22
3- on : [push]
3+ on :
4+ push :
5+ branches-ignore :
6+ - main
47
58jobs :
69 ruff :
710 runs-on : ubuntu-latest
811 name : " ruff"
12+ if : github.event.created == false # Skip if this push created a new branch
913 steps :
1014 - name : actions_python_ruff
1115 uses : davidslusser/actions_python_ruff@v1.0.3
1216 with :
1317 src : " src/django_project"
1418 command : ruff format src --check
15- python_version : " 3.11 "
19+ python_version : " 3.13 "
Original file line number Diff line number Diff line change 1- name : ruff_lint
1+ name : Code Consistency Check (ruff format)
22
3- on : [push]
3+ on :
4+ push :
5+ branches-ignore :
6+ - main
47
58jobs :
69 ruff :
710 runs-on : ubuntu-latest
811 name : " ruff"
12+ if : github.event.created == false # Skip if this push created a new branch
913 steps :
1014 - name : actions_python_ruff
1115 uses : davidslusser/actions_python_ruff@v1.0.3
1216 with :
1317 src : " src/django_project"
14- options : " -v "
15- python_version : " 3.11 "
18+ command : ruff format src --check
19+ python_version : " 3.13 "
Original file line number Diff line number Diff line change 11[project ]
22dependencies = [
3- " django~=5.2" ,
3+ " django~=5.2.12 " ,
44 " django-braces" ,
55 " django-debug-toolbar" ,
66 " django-environ" ,
@@ -20,7 +20,7 @@ keywords = ["django"]
2020license = {file = " LICENSE" }
2121name = " my_django_project"
2222readme = " README.md"
23- requires-python = " >=3.10 "
23+ requires-python = " >=3.13 "
2424
2525
2626[project .optional-dependencies ]
You can’t perform that action at this time.
0 commit comments