Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/bandit.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
on: [push]
name: Security Analysis (bandit)

on:
push:
branches-ignore:
- main

jobs:
bandit:
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/django.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Django Check

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
django-check:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
with:
python-version: "3.13"

- name: Install dependencies
run: |
pip install -e .

- name: Run Django check
env:
DJANGO_SETTINGS_MODULE: core.settings
DB_ENGINE: django.db.backends.sqlite3
DB_NAME: test_db.sqlite3
SECRET_KEY: test_secret_key
DJANGO_DEBUG: False
run: |
cd src/django_project
python manage.py check
6 changes: 5 additions & 1 deletion .github/workflows/fawltydeps.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
on: [push]
name: Dependency Consistency Check (fawltydeps)

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
fawltydeps:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/isort.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
on: [push]
name: Import Order Validation (isort)

on:
push:
branches-ignore:
- main

jobs:
isort:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/mypy.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
on: [push]
name: Type Checking (mypy)

on:
push:
branches-ignore:
- main

jobs:
mypy:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
on: [push]
name: Unittest Execution (pytest)

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
pytest:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/radon.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
on: [push]
name: Code Metrics Analysis (radon)

on:
push:
branches-ignore:
- main

jobs:
radon:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ruff_format.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
on: [push]
name: Code Consistency Check (ruff format)

on:
push:
branches-ignore:
- main

jobs:
ruff:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ruff_lint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
on: [push]
name: Static Code Analysis (ruff)

on:
push:
branches-ignore:
- main

jobs:
ruff:
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ dependencies = [
"django-filter==25.1",
"django-handyhelpers",
"flower",
"Pillow",
"psycopg2-binary",
"redis",
"requests>=2.26.0",
Expand Down Expand Up @@ -140,7 +141,7 @@ ignore_unused = [
"mypy",
"mypy-extensions",
"ruff",
"pillow",
"Pillow",
"psycopg2-binary",
"pytest",
"pytest-cov",
Expand Down
6 changes: 6 additions & 0 deletions src/django_project/web/scripts/initialize_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ def create_groups() -> None:
"platform": "Eventbrite",
"platform page": "https://www.eventbrite.com/o/intellitect-114361599431",
},
{
"name": "Spokane ISSA",
"icon": """<i class="fa-solid fa-user-secret"></i>""",
"platform": "Eventbrite",
"platform page": "https://www.eventbrite.com/o/spokane-issa-120762885954",
},
{
"name": "Greater Spokane Inc",
"icon": """<i class="fa-solid fa-city"></i>""",
Expand Down