diff --git a/.github/renovate.json b/.github/renovate.json deleted file mode 100644 index 4dfba63..0000000 --- a/.github/renovate.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:recommended" - ], - "labels": [ - "dependencies" - ], - "gitIgnoredAuthors": [ - "66853113+pre-commit-ci[bot]@users.noreply.github.com" - ], - "enabled": true, - "enabledManagers": [ - "pep621", - "github-actions" - ], - "ignoreDeps": [] -} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index 87ea64c..0000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,76 +0,0 @@ -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. -# -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. -# -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. -# -name: "CodeQL" - -on: - push: - branches: [ "main" ] - pull_request: - # The branches below must be a subset of the branches above - branches: [ "main" ] - schedule: - - cron: '29 12 * * 1' - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-latest - permissions: - actions: read - contents: read - security-events: write - - strategy: - fail-fast: false - matrix: - language: [ 'python' ] - # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] - # Use only 'java' to analyze code written in Java, Kotlin or both - # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both - # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v3 - with: - languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - - # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs - # queries: security-extended,security-and-quality - - - # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v3 - - # ℹ️ Command-line programs to run using the OS shell. - # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun - - # If the Autobuild fails above, remove it and uncomment the following three lines. - # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. - - # - run: | - # echo "Run, Build Application using script" - # ./location_of_script_within_repo/buildscript.sh - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 - with: - category: "/language:${{matrix.language}}" diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml deleted file mode 100644 index 0d4a013..0000000 --- a/.github/workflows/dependency-review.yml +++ /dev/null @@ -1,20 +0,0 @@ -# Dependency Review Action -# -# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging. -# -# Source repository: https://github.com/actions/dependency-review-action -# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement -name: 'Dependency Review' -on: [pull_request] - -permissions: - contents: read - -jobs: - dependency-review: - runs-on: ubuntu-latest - steps: - - name: 'Checkout Repository' - uses: actions/checkout@v4 - - name: 'Dependency Review' - uses: actions/dependency-review-action@v4 diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml deleted file mode 100644 index 65c70da..0000000 --- a/.github/workflows/ruff.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: Linting - -on: [push, pull_request, workflow_dispatch] - -jobs: - ruff: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Linting - uses: chartboost/ruff-action@v1 - with: - args: check - - name: Check Formatting - uses: chartboost/ruff-action@v1 - with: - args: format --check diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 73707eb..0000000 --- a/.gitignore +++ /dev/null @@ -1,213 +0,0 @@ -# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig -# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,linux,python -# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,linux,python - -### Linux ### -*~ - -# temporary files which can be created if a process still has a handle open of a deleted file -.fuse_hidden* - -# KDE directory preferences -.directory - -# Linux trash folder which might appear on any partition or disk -.Trash-* - -# .nfs files are created when an open file is removed but is still being accessed -.nfs* - -### Python ### -# Byte-compiled / optimized / DLL files -__pycache__/ -*.py[cod] -*$py.class - -# C extensions -*.so - -# Distribution / packaging -.Python -build/ -develop-eggs/ -dist/ -downloads/ -eggs/ -.eggs/ -lib/ -lib64/ -parts/ -sdist/ -var/ -wheels/ -share/python-wheels/ -*.egg-info/ -.installed.cfg -*.egg -MANIFEST - -# PyInstaller -# Usually these files are written by a python script from a template -# before PyInstaller builds the exe, so as to inject date/other infos into it. -*.manifest -*.spec - -# Installer logs -pip-log.txt -pip-delete-this-directory.txt - -# Unit test / coverage reports -htmlcov/ -.tox/ -.nox/ -.coverage -.coverage.* -.cache -nosetests.xml -coverage.xml -*.cover -*.py,cover -.hypothesis/ -.pytest_cache/ -cover/ - -# Translations -*.mo -*.pot - -# Django stuff: -*.log -local_settings.py -db.sqlite3 -db.sqlite3-journal - -# Flask stuff: -instance/ -.webassets-cache - -# Scrapy stuff: -.scrapy - -# Sphinx documentation -docs/_build/ - -# PyBuilder -.pybuilder/ -target/ - -# Jupyter Notebook -.ipynb_checkpoints - -# IPython -profile_default/ -ipython_config.py - -# pyenv -# For a library or package, you might want to ignore these files since the code is -# intended to run in multiple environments; otherwise, check them in: -# .python-version - -# pipenv -# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. -# However, in case of collaboration, if having platform-specific dependencies or dependencies -# having no cross-platform support, pipenv may install dependencies that don't work, or not -# install all needed dependencies. -#Pipfile.lock - -# poetry -# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. -# This is especially recommended for binary packages to ensure reproducibility, and is more -# commonly ignored for libraries. -# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control -#poetry.lock - -# pdm -# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control. -#pdm.lock -# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it -# in version control. -# https://pdm.fming.dev/#use-with-ide -.pdm.toml - -# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm -__pypackages__/ - -# Celery stuff -celerybeat-schedule -celerybeat.pid - -# SageMath parsed files -*.sage.py - -# Environments -.env -.venv -env/ -venv/ -ENV/ -env.bak/ -venv.bak/ - -# Spyder project settings -.spyderproject -.spyproject - -# Rope project settings -.ropeproject - -# mkdocs documentation -/site - -# mypy -.mypy_cache/ -.dmypy.json -dmypy.json - -# Pyre type checker -.pyre/ - -# pytype static type analyzer -.pytype/ - -# Cython debug symbols -cython_debug/ - -# PyCharm -# JetBrains specific template is maintained in a separate JetBrains.gitignore that can -# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore -# and can be added to the global gitignore or merged into this file. For a more nuclear -# option (not recommended) you can uncomment the following to ignore the entire idea folder. -#.idea/ - -### VisualStudioCode ### -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -!.vscode/*.code-snippets - -# Local History for Visual Studio Code -.history/ - -# Built Visual Studio Code Extensions -*.vsix - -### VisualStudioCode Patch ### -# Ignore all local history of files -.history -.ionide - -# Support for Project snippet scope -.vscode/*.code-snippets - -# Ignore code-workspaces -*.code-workspace - -# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,linux,python - -# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option) -test.db -.python-version -.changelog_generator.toml -.envrc diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100644 index 6d17c5a..0000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -1,60 +0,0 @@ -ci: - autofix_commit_msg: "[pre-commit.ci] auto fixes from pre-commit.com hooks" -repos: - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 - hooks: - - id: check-yaml - args: [--unsafe] - - id: trailing-whitespace - - id: check-toml - - id: check-merge-conflict - - id: end-of-file-fixer - - # - repo: https://github.com/renovatebot/pre-commit-hooks - # rev: 39.69.2 - # hooks: - # - id: renovate-config-validator - # files: ^renovate\.json$ - - - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.2 - hooks: - - id: ruff - args: ["--output-format=concise"] - name: "lint with ruff" - - id: ruff-format - name: "format with ruff" - - - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.15.0" # Use the sha / tag you want to point at - hooks: - - id: mypy - name: "run mypy" - additional_dependencies: - - pydantic - - sqladmin - - - repo: https://github.com/astral-sh/uv-pre-commit - # uv version. - rev: 0.6.9 - hooks: - # Update the uv lockfile - - id: uv-lock - - id: uv-export - name: "Export dependencies to 'requirements.txt'" - args: - [ - "--no-hashes", - "--no-dev", - "--no-emit-project", - "--output-file=requirements.txt", - ] - - id: uv-export - name: "Export dev dependencies to 'requirements-dev.txt'" - args: - [ - "--no-hashes", - "--no-emit-project", - "--output-file=requirements-dev.txt", - ] diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 970fc30..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "[python]": { - "editor.codeActionsOnSave": { - "source.fixAll": "explicit", - "source.organizeImports": "explicit" - }, - "editor.defaultFormatter": "charliermarsh.ruff" - }, - "beautify.language": { - "html": ["htm", "html", "django-html"] - }, - "editor.formatOnPaste": false, - "editor.formatOnSave": true, - "emmet.includeLanguages": { - "django-html": "html", - "jinja-html": "html" - }, - "emmet.triggerExpansionOnTab": true, - "files.associations": { - "**/*.html": "html", - "**/*.tpl": "jinja", - "**/requirements{/**,*}.{txt,in}": "pip-requirements", - "**/templates/**/*": "django-txt", - "**/templates/**/*.html": "jinja-html" - }, - "files.eol": "\n", - "files.exclude": { - "**/.cache": true, - "**/.mypy_cache": true, - "**/.pytest_cache": true, - "**/.ruff_cache": true, - "**/__pycache__": true - }, - "git.alwaysSignOff": true, - "git.enableCommitSigning": true, - "html.format.indentHandlebars": true, - "html.format.templating": true, - "markdownlint.ignore": ["CHANGELOG.md"], - "material-icon-theme.languages.associations": { - "jinja-html": "django" - }, - "mypy-type-checker.args": ["--strict"], - "mypy-type-checker.importStrategy": "useBundled", - "mypy-type-checker.reportingScope": "workspace", - "python.analysis.autoImportCompletions": true, - "python.analysis.autoImportUserSymbols": true, - "python.analysis.extraPaths": [], - "python.analysis.indexing": true, - "python.analysis.stubPath": "/home/seapagan/stubs", - "python.analysis.typeCheckingMode": "off", - "python.languageServer": "Pylance", - "python.pythonPath": "./.venv/bin/python", - "python.testing.pytestArgs": ["tests"], - "python.testing.pytestEnabled": true, - "python.testing.unittestEnabled": false, - "ruff.fixAll": false, - "ruff.organizeImports": true -} diff --git a/404.html b/404.html new file mode 100644 index 0000000..01f25e1 --- /dev/null +++ b/404.html @@ -0,0 +1 @@ +