verifycraft 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. verifycraft-0.1.0/.github/workflows/ci.yml +50 -0
  2. verifycraft-0.1.0/.github/workflows/conventions.yml +96 -0
  3. verifycraft-0.1.0/.github/workflows/coverage.yml +35 -0
  4. verifycraft-0.1.0/.github/workflows/lint.yml +47 -0
  5. verifycraft-0.1.0/.github/workflows/release.yml +116 -0
  6. verifycraft-0.1.0/.github/workflows/sonar.yml +51 -0
  7. verifycraft-0.1.0/.github/workflows/vulnerabilities.yml +28 -0
  8. verifycraft-0.1.0/.gitignore +223 -0
  9. verifycraft-0.1.0/CONTRIBUTING.md +115 -0
  10. verifycraft-0.1.0/LICENSE +201 -0
  11. verifycraft-0.1.0/PKG-INFO +286 -0
  12. verifycraft-0.1.0/README.md +255 -0
  13. verifycraft-0.1.0/benchmarks/README.md +58 -0
  14. verifycraft-0.1.0/benchmarks/__init__.py +1 -0
  15. verifycraft-0.1.0/benchmarks/baseline.py +45 -0
  16. verifycraft-0.1.0/benchmarks/evaluate.py +150 -0
  17. verifycraft-0.1.0/benchmarks/fixtures/__init__.py +213 -0
  18. verifycraft-0.1.0/benchmarks/fixtures/repos/contradicted_hypothesis/src/discount.py +7 -0
  19. verifycraft-0.1.0/benchmarks/fixtures/repos/contradicted_hypothesis/tests/test_discount.py +7 -0
  20. verifycraft-0.1.0/benchmarks/fixtures/repos/inconclusive_case/src/service.py +7 -0
  21. verifycraft-0.1.0/benchmarks/fixtures/repos/inconclusive_case/tests/test_service.py +7 -0
  22. verifycraft-0.1.0/benchmarks/fixtures/repos/real_regression/src/auth.py +6 -0
  23. verifycraft-0.1.0/benchmarks/fixtures/repos/real_regression/tests/test_auth.py +7 -0
  24. verifycraft-0.1.0/benchmarks/models.py +31 -0
  25. verifycraft-0.1.0/codecov.yml +20 -0
  26. verifycraft-0.1.0/docs/FOUNDATIONS.md +174 -0
  27. verifycraft-0.1.0/docs/RELEASING.md +193 -0
  28. verifycraft-0.1.0/docs/ROADMAP.md +190 -0
  29. verifycraft-0.1.0/docs/assets/architecture.png +0 -0
  30. verifycraft-0.1.0/docs/assets/architecture.svg +38 -0
  31. verifycraft-0.1.0/examples/verify_regression.py +98 -0
  32. verifycraft-0.1.0/pyproject.toml +96 -0
  33. verifycraft-0.1.0/scripts/RELEASE_TAG.md +12 -0
  34. verifycraft-0.1.0/scripts/coverage.sh +16 -0
  35. verifycraft-0.1.0/scripts/release_tag.sh +218 -0
  36. verifycraft-0.1.0/sonar-project.properties +27 -0
  37. verifycraft-0.1.0/src/verifycraft/__init__.py +48 -0
  38. verifycraft-0.1.0/src/verifycraft/cli.py +211 -0
  39. verifycraft-0.1.0/src/verifycraft/contracts/__init__.py +31 -0
  40. verifycraft-0.1.0/src/verifycraft/contracts/models.py +344 -0
  41. verifycraft-0.1.0/src/verifycraft/core/__init__.py +31 -0
  42. verifycraft-0.1.0/src/verifycraft/core/evaluator.py +173 -0
  43. verifycraft-0.1.0/src/verifycraft/core/fingerprint.py +270 -0
  44. verifycraft-0.1.0/src/verifycraft/core/policy.py +112 -0
  45. verifycraft-0.1.0/src/verifycraft/core/runner.py +275 -0
  46. verifycraft-0.1.0/src/verifycraft/engine.py +450 -0
  47. verifycraft-0.1.0/src/verifycraft/py.typed +1 -0
  48. verifycraft-0.1.0/tests/__init__.py +1 -0
  49. verifycraft-0.1.0/tests/contract/test_json_schema.py +33 -0
  50. verifycraft-0.1.0/tests/integration/test_trusted_pytest_integration.py +135 -0
  51. verifycraft-0.1.0/tests/unit/__init__.py +1 -0
  52. verifycraft-0.1.0/tests/unit/test_benchmarks.py +35 -0
  53. verifycraft-0.1.0/tests/unit/test_cli.py +191 -0
  54. verifycraft-0.1.0/tests/unit/test_contracts.py +186 -0
  55. verifycraft-0.1.0/tests/unit/test_engine.py +349 -0
  56. verifycraft-0.1.0/tests/unit/test_evaluator.py +260 -0
  57. verifycraft-0.1.0/tests/unit/test_example.py +18 -0
  58. verifycraft-0.1.0/tests/unit/test_fingerprint.py +421 -0
  59. verifycraft-0.1.0/tests/unit/test_hardening_regressions.py +591 -0
  60. verifycraft-0.1.0/tests/unit/test_policy.py +102 -0
  61. verifycraft-0.1.0/tests/unit/test_runner.py +223 -0
  62. verifycraft-0.1.0/tests/unit/test_smoke.py +9 -0
  63. verifycraft-0.1.0/uv.lock +1643 -0
@@ -0,0 +1,50 @@
1
+ name: ci
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ workflow_dispatch:
9
+
10
+ permissions:
11
+ contents: read
12
+
13
+ jobs:
14
+ test:
15
+ name: test (${{ matrix.os }}, py${{ matrix.python-version }})
16
+ strategy:
17
+ fail-fast: false
18
+ matrix:
19
+ os: [ubuntu-latest, windows-latest, macos-latest]
20
+ python-version: ["3.11", "3.12"]
21
+ runs-on: ${{ matrix.os }}
22
+ steps:
23
+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
24
+ - name: Set up Python ${{ matrix.python-version }}
25
+ uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
26
+ with:
27
+ python-version: ${{ matrix.python-version }}
28
+ cache: "pip"
29
+ - name: Install dependencies
30
+ run: |
31
+ python -m pip install --upgrade pip
32
+ pip install -e ".[dev]"
33
+ - name: Run tests
34
+ run: pytest
35
+
36
+ package-verify:
37
+ name: package-verify
38
+ runs-on: ubuntu-latest
39
+ steps:
40
+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
41
+ - name: Set up Python 3.11
42
+ uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
43
+ with:
44
+ python-version: "3.11"
45
+ - name: Install build tool
46
+ run: |
47
+ python -m pip install --upgrade pip
48
+ pip install build
49
+ - name: Verify package build
50
+ run: python -m build
@@ -0,0 +1,96 @@
1
+ name: conventions
2
+
3
+ on:
4
+ pull_request:
5
+ types: [opened, edited, synchronize, reopened]
6
+ workflow_dispatch:
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ check-conventions:
13
+ name: branch & conventional commits
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: Checkout repository
17
+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
18
+ with:
19
+ fetch-depth: 0
20
+
21
+ - name: Validate branch name
22
+ shell: bash
23
+ env:
24
+ HEAD_REF: ${{ github.head_ref }}
25
+ run: |
26
+ if [[ -z "$HEAD_REF" ]]; then
27
+ echo "Not a pull request head branch, skipping branch name check."
28
+ exit 0
29
+ fi
30
+
31
+ echo "Checking branch name: $HEAD_REF"
32
+ BRANCH_REGEX='^(feature|bugfix|fix|hotfix|docs|chore|refactor|test|ci|dependabot)/.+$'
33
+
34
+ if [[ ! "$HEAD_REF" =~ $BRANCH_REGEX ]]; then
35
+ echo "::error::Branch name '$HEAD_REF' violates naming convention."
36
+ echo "Branch name must match: ^(feature|bugfix|fix|hotfix|docs|chore|refactor|test|ci|dependabot)/.+$"
37
+ echo "Example: feature/pr-regression-slice, fix/stale-evidence, chore/update-deps"
38
+ exit 1
39
+ fi
40
+ echo "Branch name is valid."
41
+
42
+ - name: Validate commit messages and PR title
43
+ shell: bash
44
+ env:
45
+ BASE_REF: ${{ github.base_ref }}
46
+ PR_TITLE: ${{ github.event.pull_request.title }}
47
+ run: |
48
+ COMMIT_REGEX='^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\([a-z0-9_./-]+\))?!?: .+$'
49
+ FAILED=0
50
+
51
+ # Validate PR title if present
52
+ if [[ -n "$PR_TITLE" ]]; then
53
+ echo "Checking PR title: '$PR_TITLE'"
54
+ if [[ ! "$PR_TITLE" =~ $COMMIT_REGEX ]]; then
55
+ echo "::error::PR title '$PR_TITLE' does not follow Conventional Commits."
56
+ FAILED=1
57
+ else
58
+ echo "PR title is valid."
59
+ fi
60
+ fi
61
+
62
+ # If triggered on pull_request, validate every commit in the PR
63
+ if [[ -n "$BASE_REF" ]]; then
64
+ echo "Checking commits between origin/$BASE_REF and HEAD..."
65
+ COMMITS=$(git log "origin/$BASE_REF..HEAD" --format="%H %s")
66
+
67
+ while IFS= read -r line; do
68
+ [[ -z "$line" ]] && continue
69
+ SHA="${line%% *}"
70
+ SUBJECT="${line#* }"
71
+
72
+ # Ignore merge commits
73
+ if [[ "$SUBJECT" =~ ^Merge ]]; then
74
+ continue
75
+ fi
76
+
77
+ if [[ ! "$SUBJECT" =~ $COMMIT_REGEX ]]; then
78
+ echo "::error::Commit $SHA violates Conventional Commits: '$SUBJECT'"
79
+ FAILED=1
80
+ else
81
+ echo "Commit $SHA is valid: '$SUBJECT'"
82
+ fi
83
+ done <<< "$COMMITS"
84
+ fi
85
+
86
+ if [[ $FAILED -ne 0 ]]; then
87
+ echo ""
88
+ echo "Commit messages and PR titles must match: ^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\([a-z0-9_-]+\))?!?: .+$"
89
+ echo "Examples:"
90
+ echo " feat(verify): add pytest check adapter"
91
+ echo " fix: handle timeout in diff parser"
92
+ echo " docs: document architecture foundations"
93
+ exit 1
94
+ fi
95
+
96
+ echo "All commit messages and PR title conform to Conventional Commits."
@@ -0,0 +1,35 @@
1
+ name: coverage
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ types: [opened, synchronize, reopened]
9
+ workflow_dispatch:
10
+
11
+ permissions:
12
+ contents: read
13
+
14
+ jobs:
15
+ coverage:
16
+ name: coverage
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
20
+ - name: Set up Python 3.11
21
+ uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
22
+ with:
23
+ python-version: "3.11"
24
+ cache: "pip"
25
+ - name: Install dependencies
26
+ run: |
27
+ python -m pip install --upgrade pip
28
+ pip install -e ".[dev]"
29
+ - name: Generate code coverage
30
+ run: pytest --cov --cov-branch --cov-report=xml
31
+ - name: Upload coverage reports to Codecov
32
+ uses: codecov/codecov-action@0fb7174895f61a3b6b78fc075e0cd60383518dac # v5.5.5
33
+ with:
34
+ token: ${{ secrets.CODECOV_TOKEN }}
35
+ slug: apply-the/verifycraft
@@ -0,0 +1,47 @@
1
+ name: lint
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ workflow_dispatch:
9
+
10
+ permissions:
11
+ contents: read
12
+
13
+ jobs:
14
+ ruff:
15
+ name: ruff
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
19
+ - name: Set up Python 3.11
20
+ uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
21
+ with:
22
+ python-version: "3.11"
23
+ - name: Install ruff
24
+ run: |
25
+ python -m pip install --upgrade pip
26
+ pip install ruff
27
+ - name: Run ruff check
28
+ run: ruff check .
29
+ - name: Run ruff format check
30
+ run: ruff format --check .
31
+
32
+ mypy:
33
+ name: mypy
34
+ runs-on: ubuntu-latest
35
+ steps:
36
+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
37
+ - name: Set up Python 3.11
38
+ uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
39
+ with:
40
+ python-version: "3.11"
41
+ cache: "pip"
42
+ - name: Install dependencies
43
+ run: |
44
+ python -m pip install --upgrade pip
45
+ pip install -e ".[dev]"
46
+ - name: Run mypy
47
+ run: mypy
@@ -0,0 +1,116 @@
1
+ name: Release to PyPI
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ test-matrix:
13
+ name: test (${{ matrix.python-version }})
14
+ runs-on: ubuntu-latest
15
+ strategy:
16
+ fail-fast: false
17
+ matrix:
18
+ python-version: ["3.11", "3.12"]
19
+ steps:
20
+ - name: Checkout repository
21
+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
22
+
23
+ - name: Set up Python ${{ matrix.python-version }}
24
+ uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
25
+ with:
26
+ python-version: ${{ matrix.python-version }}
27
+ cache: "pip"
28
+
29
+ - name: Install dependencies
30
+ run: |
31
+ python -m pip install --upgrade pip
32
+ pip install -e ".[dev]"
33
+
34
+ - name: Run test suite
35
+ run: pytest
36
+
37
+ verify:
38
+ name: Verify release
39
+ needs: test-matrix
40
+ runs-on: ubuntu-latest
41
+ steps:
42
+ - name: Checkout tag with full history
43
+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
44
+ with:
45
+ fetch-depth: 0
46
+
47
+ - name: Set up Python 3.11
48
+ uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
49
+ with:
50
+ python-version: "3.11"
51
+
52
+ - name: Validate release ref
53
+ shell: bash
54
+ run: |
55
+ set -euo pipefail
56
+ [[ "$GITHUB_REF_NAME" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(a[0-9]+|b[0-9]+|rc[0-9]+)?$ ]]
57
+ git fetch origin main
58
+ test "$(git rev-parse HEAD)" = "$(git rev-parse origin/main)"
59
+
60
+ - name: Install dependencies
61
+ run: |
62
+ python -m pip install --upgrade pip
63
+ pip install -e ".[dev]"
64
+
65
+ - name: Verify package version
66
+ run: |
67
+ python - <<'PY'
68
+ import os
69
+ import tomllib
70
+ from importlib.metadata import version
71
+ import verifycraft
72
+ with open("pyproject.toml", "rb") as file:
73
+ declared = tomllib.load(file)["project"]["version"]
74
+ assert os.environ["GITHUB_REF_NAME"] == f"v{declared}"
75
+ assert verifycraft.__version__ == declared
76
+ assert version("verifycraft") == declared
77
+ PY
78
+
79
+ - name: Run quality gates
80
+ run: |
81
+ ruff check .
82
+ ruff format --check .
83
+ mypy
84
+ pytest --cov=verifycraft
85
+ python -m benchmarks.evaluate
86
+
87
+ - name: Build distributions
88
+ run: |
89
+ python -m build
90
+ python -m twine check --strict dist/*
91
+
92
+ - name: Upload verified distributions
93
+ uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
94
+ with:
95
+ name: release-distributions
96
+ path: dist/
97
+ if-no-files-found: error
98
+
99
+ publish:
100
+ name: Publish to PyPI
101
+ needs: verify
102
+ runs-on: ubuntu-latest
103
+ environment: pypi
104
+ permissions:
105
+ id-token: write # Mandatory for PyPI Trusted Publishing (OIDC)
106
+ steps:
107
+ - name: Download distributions
108
+ uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
109
+ with:
110
+ name: release-distributions
111
+ path: dist/
112
+
113
+ - name: Publish distributions
114
+ uses: pypa/gh-action-pypi-publish@release/v1
115
+ with:
116
+ packages-dir: dist/
@@ -0,0 +1,51 @@
1
+ name: SonarQube
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ types: [opened, synchronize, reopened]
9
+ workflow_dispatch:
10
+
11
+ permissions:
12
+ contents: read
13
+
14
+ jobs:
15
+ build:
16
+ name: Build and analyze
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
20
+ with:
21
+ fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
22
+
23
+ - name: Set up Python 3.11
24
+ uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
25
+ with:
26
+ python-version: "3.11"
27
+ cache: "pip"
28
+
29
+ - name: Install dependencies
30
+ run: |
31
+ python -m pip install --upgrade pip
32
+ pip install -e ".[dev]"
33
+
34
+ - name: Build, test and generate coverage reports
35
+ run: pytest --cov --cov-branch --cov-report=xml
36
+
37
+ - name: Cache SonarQube packages
38
+ uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
39
+ with:
40
+ path: ~/.sonar/cache
41
+ key: ${{ runner.os }}-sonar
42
+ restore-keys: ${{ runner.os }}-sonar
43
+
44
+ - name: SonarQube Scan
45
+ uses: SonarSource/sonarqube-scan-action@d209202bc7d53ff1cc128f7f907dac145c9d6ae9 # v8.3.0
46
+ env:
47
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
48
+ with:
49
+ args: >
50
+ -Dsonar.organization=apply-the
51
+ -Dsonar.projectKey=apply-the_verifycraft
@@ -0,0 +1,28 @@
1
+ name: vulnerabilities
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ workflow_dispatch:
9
+ schedule:
10
+ - cron: '17 4 * * 1'
11
+
12
+ permissions:
13
+ contents: read
14
+
15
+ jobs:
16
+ advisories:
17
+ name: advisories
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
21
+ - name: Set up Python 3.11
22
+ uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
23
+ with:
24
+ python-version: "3.11"
25
+ - name: Run security audit
26
+ uses: pypa/gh-action-pip-audit@1220774d901786e6f652ae159f7b6bc8fea6d266 # v1.1.0
27
+ with:
28
+ inputs: .
@@ -0,0 +1,223 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[codz]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py.cover
50
+ *.lcov
51
+ .hypothesis/
52
+ .pytest_cache/
53
+ cover/
54
+
55
+ # Translations
56
+ *.mo
57
+ *.pot
58
+
59
+ # Django stuff:
60
+ *.log
61
+ local_settings.py
62
+ db.sqlite3
63
+ db.sqlite3-journal
64
+
65
+ # Flask stuff:
66
+ instance/
67
+ .webassets-cache
68
+
69
+ # Scrapy stuff:
70
+ .scrapy
71
+
72
+ # Sphinx documentation
73
+ docs/_build/
74
+
75
+ # PyBuilder
76
+ .pybuilder/
77
+ target/
78
+
79
+ # Jupyter Notebook
80
+ .ipynb_checkpoints
81
+
82
+ # IPython
83
+ profile_default/
84
+ ipython_config.py
85
+
86
+ # pyenv
87
+ # For a library or package, you might want to ignore these files since the code is
88
+ # intended to run in multiple environments; otherwise, check them in:
89
+ # .python-version
90
+
91
+ # pipenv
92
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
94
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
95
+ # install all needed dependencies.
96
+ # Pipfile.lock
97
+
98
+ # uv
99
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
100
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
101
+ # commonly ignored for libraries.
102
+ # uv.lock
103
+
104
+ # poetry
105
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
106
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
107
+ # commonly ignored for libraries.
108
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
109
+ # poetry.lock
110
+ # poetry.toml
111
+
112
+ # pdm
113
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
114
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
115
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
116
+ # pdm.lock
117
+ # pdm.toml
118
+ .pdm-python
119
+ .pdm-build/
120
+
121
+ # pixi
122
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
123
+ # pixi.lock
124
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
125
+ # in the .venv directory. It is recommended not to include this directory in version control.
126
+ .pixi/*
127
+ !.pixi/config.toml
128
+
129
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
130
+ __pypackages__/
131
+
132
+ # Celery stuff
133
+ celerybeat-schedule*
134
+ celerybeat.pid
135
+
136
+ # Redis
137
+ *.rdb
138
+ *.aof
139
+ *.pid
140
+
141
+ # RabbitMQ
142
+ mnesia/
143
+ rabbitmq/
144
+ rabbitmq-data/
145
+
146
+ # ActiveMQ
147
+ activemq-data/
148
+
149
+ # SageMath parsed files
150
+ *.sage.py
151
+
152
+ # Environments
153
+ .env
154
+ .envrc
155
+ .venv
156
+ env/
157
+ venv/
158
+ ENV/
159
+ env.bak/
160
+ venv.bak/
161
+
162
+ # Spyder project settings
163
+ .spyderproject
164
+ .spyproject
165
+
166
+ # Rope project settings
167
+ .ropeproject
168
+
169
+ # mkdocs/Zensical documentation
170
+ /site
171
+
172
+ # mypy
173
+ .mypy_cache/
174
+ .dmypy.json
175
+ dmypy.json
176
+
177
+ # Pyre type checker
178
+ .pyre/
179
+
180
+ # pytype static type analyzer
181
+ .pytype/
182
+
183
+ # Cython debug symbols
184
+ cython_debug/
185
+
186
+ # PyCharm
187
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
188
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
189
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
190
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
191
+ # .idea/
192
+
193
+ # Abstra
194
+ # Abstra is an AI-powered process automation framework.
195
+ # Ignore directories containing user credentials, local state, and settings.
196
+ # Learn more at https://abstra.io/docs
197
+ .abstra/
198
+
199
+ # Visual Studio Code
200
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore that
201
+ # can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
202
+ # and can be added to the global gitignore or merged into this file. However, if you prefer, you
203
+ # could uncomment the following to ignore the entire vscode folder
204
+ # .vscode/
205
+ # Temporary file for partial code execution
206
+ tempCodeRunnerFile.py
207
+
208
+ # Ruff stuff:
209
+ .ruff_cache/
210
+
211
+ # PyPI configuration file
212
+ .pypirc
213
+
214
+ # Marimo
215
+ marimo/_static/
216
+ marimo/_lsp/
217
+ __marimo__/
218
+
219
+ # Streamlit
220
+ .streamlit/secrets.toml
221
+
222
+ # macOS
223
+ .DS_Store