liblaf-cherries 0.0.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 (52) hide show
  1. liblaf_cherries-0.0.0/.cspell.json +35 -0
  2. liblaf_cherries-0.0.0/.envrc +10 -0
  3. liblaf_cherries-0.0.0/.github/.mega-linter.yaml +5 -0
  4. liblaf_cherries-0.0.0/.github/copier/.copier-answers.python.yaml +10 -0
  5. liblaf_cherries-0.0.0/.github/copier/.copier-answers.release.yaml +5 -0
  6. liblaf_cherries-0.0.0/.github/copier/.copier-answers.share.yaml +7 -0
  7. liblaf_cherries-0.0.0/.github/linters/.ruff.toml +94 -0
  8. liblaf_cherries-0.0.0/.github/release-please/.manifest.json +1 -0
  9. liblaf_cherries-0.0.0/.github/release-please/config.json +92 -0
  10. liblaf_cherries-0.0.0/.github/release-please.yml +5 -0
  11. liblaf_cherries-0.0.0/.github/renovate.json +4 -0
  12. liblaf_cherries-0.0.0/.github/workflows/auto-pr.yaml +33 -0
  13. liblaf_cherries-0.0.0/.github/workflows/auto-repo.yaml +78 -0
  14. liblaf_cherries-0.0.0/.github/workflows/mega-linter.yaml +25 -0
  15. liblaf_cherries-0.0.0/.github/workflows/release.yaml +79 -0
  16. liblaf_cherries-0.0.0/.gitignore +176 -0
  17. liblaf_cherries-0.0.0/.ruff.toml +7 -0
  18. liblaf_cherries-0.0.0/.vscode/settings.json +9 -0
  19. liblaf_cherries-0.0.0/CHANGELOG.md +24 -0
  20. liblaf_cherries-0.0.0/Justfile +21 -0
  21. liblaf_cherries-0.0.0/LICENSE +21 -0
  22. liblaf_cherries-0.0.0/PKG-INFO +23 -0
  23. liblaf_cherries-0.0.0/__builtins__.pyi +2 -0
  24. liblaf_cherries-0.0.0/docs/README.md +1 -0
  25. liblaf_cherries-0.0.0/pixi.lock +1473 -0
  26. liblaf_cherries-0.0.0/pyproject.toml +59 -0
  27. liblaf_cherries-0.0.0/scripts/gen-init.sh +14 -0
  28. liblaf_cherries-0.0.0/src/liblaf/cherries/__init__.py +3 -0
  29. liblaf_cherries-0.0.0/src/liblaf/cherries/__init__.pyi +23 -0
  30. liblaf_cherries-0.0.0/src/liblaf/cherries/_start.py +48 -0
  31. liblaf_cherries-0.0.0/src/liblaf/cherries/git/__init__.py +3 -0
  32. liblaf_cherries-0.0.0/src/liblaf/cherries/git/__init__.pyi +17 -0
  33. liblaf_cherries-0.0.0/src/liblaf/cherries/git/_commit.py +17 -0
  34. liblaf_cherries-0.0.0/src/liblaf/cherries/git/_entrypoint.py +12 -0
  35. liblaf_cherries-0.0.0/src/liblaf/cherries/git/_repo.py +33 -0
  36. liblaf_cherries-0.0.0/src/liblaf/cherries/git/github/__init__.py +3 -0
  37. liblaf_cherries-0.0.0/src/liblaf/cherries/git/github/__init__.pyi +4 -0
  38. liblaf_cherries-0.0.0/src/liblaf/cherries/git/github/_link.py +25 -0
  39. liblaf_cherries-0.0.0/src/liblaf/cherries/git/github/_repo.py +23 -0
  40. liblaf_cherries-0.0.0/src/liblaf/cherries/integration/__init__.py +3 -0
  41. liblaf_cherries-0.0.0/src/liblaf/cherries/integration/__init__.pyi +4 -0
  42. liblaf_cherries-0.0.0/src/liblaf/cherries/integration/_abc.py +134 -0
  43. liblaf_cherries-0.0.0/src/liblaf/cherries/integration/_neptune.py +53 -0
  44. liblaf_cherries-0.0.0/src/liblaf/cherries/plugin/__init__.py +3 -0
  45. liblaf_cherries-0.0.0/src/liblaf/cherries/plugin/__init__.pyi +6 -0
  46. liblaf_cherries-0.0.0/src/liblaf/cherries/plugin/_abc.py +31 -0
  47. liblaf_cherries-0.0.0/src/liblaf/cherries/plugin/_default.py +5 -0
  48. liblaf_cherries-0.0.0/src/liblaf/cherries/plugin/_git.py +23 -0
  49. liblaf_cherries-0.0.0/src/liblaf/cherries/plugin/_logging.py +20 -0
  50. liblaf_cherries-0.0.0/src/liblaf/cherries/plugin/_restic.py +45 -0
  51. liblaf_cherries-0.0.0/src/liblaf/cherries/utils/__init__.py +3 -0
  52. liblaf_cherries-0.0.0/src/liblaf/cherries/utils/__init__.pyi +0 -0
@@ -0,0 +1,35 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/packages/cspell-types/cspell.schema.json",
3
+ "version": "0.2",
4
+ "language": "en",
5
+ "words": [
6
+ "asyncio",
7
+ "bdabdac",
8
+ "cuda",
9
+ "getattr",
10
+ "hynek",
11
+ "libc",
12
+ "liblaf",
13
+ "numpy",
14
+ "pixi",
15
+ "pydantic",
16
+ "pydocstyle",
17
+ "pypa",
18
+ "pypi",
19
+ "pyplot",
20
+ "pyproject",
21
+ "pyrightconfig",
22
+ "pyvista",
23
+ "stefanzweifel",
24
+ "trimesh",
25
+ "ubelt"
26
+ ],
27
+ "ignorePaths": [
28
+ "**/.cspell.*",
29
+ "**/.git",
30
+ "**/.vscode",
31
+ "**/*-lock.*",
32
+ "**/*.lock*"
33
+ ],
34
+ "allowCompoundWords": true
35
+ }
@@ -0,0 +1,10 @@
1
+ #!/bin/bash
2
+ #
3
+ watch_file "pyproject.toml" "pixi.toml" "pixi.lock"
4
+ if [[ -t 2 ]]; then
5
+ color="always"
6
+ else
7
+ color="auto"
8
+ fi
9
+ eval "$(pixi --color "$color" shell-hook)"
10
+ #
@@ -0,0 +1,5 @@
1
+ # yaml-language-server: $schema=https://raw.githubusercontent.com/megalinter/megalinter/main/megalinter/descriptors/schemas/megalinter-configuration.jsonschema.json
2
+ # https://megalinter.io/latest/config-file/
3
+
4
+ EXTENDS:
5
+ - https://github.com/liblaf/.github/raw/refs/heads/main/.mega-linter.yaml
@@ -0,0 +1,10 @@
1
+ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
2
+ _commit: bdabdac
3
+ _src_path: gh:liblaf/copier-python
4
+ author: liblaf
5
+ email: 30631553+liblaf@users.noreply.github.com
6
+ license: MIT
7
+ name: liblaf.cherries
8
+ owner: liblaf
9
+ package_manager: pixi
10
+ repo: cherries
@@ -0,0 +1,5 @@
1
+ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
2
+ # prettier-ignore
3
+ _commit: '9967666'
4
+ _src_path: gh:liblaf/copier-release
5
+ release_type: python
@@ -0,0 +1,7 @@
1
+ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
2
+ # prettier-ignore
3
+ _commit: 7c66741
4
+ _src_path: gh:liblaf/copier-share
5
+ copyright_holder: liblaf
6
+ license: MIT
7
+ owner: liblaf
@@ -0,0 +1,94 @@
1
+ #:schema https://json.schemastore.org/ruff.json
2
+ builtins = ["ic"]
3
+ fix = true
4
+ show-fixes = true
5
+
6
+ [format]
7
+ docstring-code-format = true
8
+
9
+ [lint]
10
+ explicit-preview-rules = true
11
+ ignore = [
12
+ "ANN002",
13
+ "ANN003",
14
+ "ANN401",
15
+ "COM812",
16
+ "D100",
17
+ "D101",
18
+ "D102",
19
+ "D103",
20
+ "D104",
21
+ "D105",
22
+ "D106",
23
+ "D107",
24
+ "E501",
25
+ "ERA001",
26
+ "FIX002",
27
+ "INP001",
28
+ "PLR0913",
29
+ "PLR2004",
30
+ "RET504",
31
+ "S101",
32
+ "S603",
33
+ "S607",
34
+ "T201",
35
+ "TC001",
36
+ "TC002",
37
+ "TC003",
38
+ "TD002",
39
+ "TD003",
40
+ "TD004",
41
+ "TD005",
42
+ ]
43
+ select = ["ALL"]
44
+
45
+ [lint.flake8-annotations]
46
+ allow-star-arg-any = true
47
+
48
+ [lint.flake8-import-conventions.aliases]
49
+ "array_typing" = "at"
50
+ "array_typing.jax" = "atj"
51
+ "array_typing.numpy" = "atn"
52
+ "array_typing.torch" = "att"
53
+ "asyncio.subprocess" = "asp"
54
+ "boltons" = "bt"
55
+ "jax.numpy" = "jnp"
56
+ "jax.typing" = "jxt"
57
+ "matplotlib" = "mpl"
58
+ "matplotlib.pyplot" = "plt"
59
+ "numpy" = "np"
60
+ "numpy.typing" = "npt"
61
+ "open3d" = "o3d"
62
+ "pandas" = "pd"
63
+ "polars" = "pl"
64
+ "pydantic_settings" = "ps"
65
+ "pyvista" = "pv"
66
+ "seaborn" = "sns"
67
+ "subprocess" = "sp"
68
+ "taichi" = "ti"
69
+ "toolkit" = "tk"
70
+ "toolkit.array" = "at"
71
+ "toolkit.array.jax" = "tj"
72
+ "toolkit.array.numpy" = "tn"
73
+ "toolkit.array.torch" = "tt"
74
+ "toolkit.typing" = "tp"
75
+ "toolkit.validation" = "tv"
76
+ "trimesh" = "tm"
77
+ "trimesh.transformations" = "tf"
78
+ "ubelt" = "ub"
79
+
80
+ [lint.flake8-type-checking]
81
+ runtime-evaluated-base-classes = [
82
+ "pydantic.BaseModel",
83
+ "pydantic_settings.BaseSettings",
84
+ "sqlalchemy.orm.DeclarativeBase",
85
+ "toolkit.BaseConfig",
86
+ ]
87
+ runtime-evaluated-decorators = [
88
+ "attrs.define",
89
+ "pydantic.validate_call",
90
+ "toolkit.main",
91
+ ]
92
+
93
+ [lint.pydocstyle]
94
+ convention = "google"
@@ -0,0 +1 @@
1
+ {".":"0.0.0"}
@@ -0,0 +1,92 @@
1
+ {
2
+ "$schema": "https://github.com/googleapis/release-please/raw/refs/heads/main/schemas/config.json",
3
+ "release-type": "python",
4
+ "bump-minor-pre-major": true,
5
+ "bump-patch-for-minor-pre-major": true,
6
+ "changelog-sections": [
7
+ {
8
+ "type": "feat",
9
+ "section": "✨ Features"
10
+ },
11
+ {
12
+ "type": "feature",
13
+ "section": "✨ Features"
14
+ },
15
+ {
16
+ "type": "fix",
17
+ "scope": "deps",
18
+ "section": "⬆️ Dependencies"
19
+ },
20
+ {
21
+ "type": "fix",
22
+ "scope": "deps-dev",
23
+ "section": "⬆️ Dependencies"
24
+ },
25
+ {
26
+ "type": "build",
27
+ "scope": "deps",
28
+ "section": "⬆️ Dependencies"
29
+ },
30
+ {
31
+ "type": "build",
32
+ "scope": "deps-dev",
33
+ "section": "⬆️ Dependencies"
34
+ },
35
+ {
36
+ "type": "chore",
37
+ "scope": "deps",
38
+ "section": "⬆️ Dependencies"
39
+ },
40
+ {
41
+ "type": "chore",
42
+ "scope": "deps-dev",
43
+ "section": "⬆️ Dependencies"
44
+ },
45
+ {
46
+ "type": "fix",
47
+ "section": "🐛 Bug Fixes"
48
+ },
49
+ {
50
+ "type": "perf",
51
+ "section": "⚡ Performance Improvements"
52
+ },
53
+ {
54
+ "type": "revert",
55
+ "section": "⏪ Reverts"
56
+ },
57
+ {
58
+ "type": "docs",
59
+ "section": "📝 Documentation"
60
+ },
61
+ {
62
+ "type": "style",
63
+ "section": "💄 Styles"
64
+ },
65
+ {
66
+ "type": "chore",
67
+ "section": "🎫 Chores",
68
+ "hidden": true
69
+ },
70
+ {
71
+ "type": "refactor",
72
+ "section": "♻ Code Refactoring"
73
+ },
74
+ {
75
+ "type": "test",
76
+ "section": "✅ Tests"
77
+ },
78
+ {
79
+ "type": "build",
80
+ "section": "👷 Build System"
81
+ },
82
+ {
83
+ "type": "ci",
84
+ "section": "🔧 Continuous Integration"
85
+ }
86
+ ],
87
+ "include-component-in-tag": false,
88
+ "initial-version": "0.0.0",
89
+ "packages": {
90
+ ".": {}
91
+ }
92
+ }
@@ -0,0 +1,5 @@
1
+ # yaml-language-server: $schema=https://raw.githubusercontent.com/googleapis/repo-automation-bots/refs/heads/main/packages/release-please/src/config-schema.json
2
+ handleGHRelease: true
3
+ manifest: true
4
+ manifestConfig: .github/release-please/config.json
5
+ manifestFile: .github/release-please/.manifest.json
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3
+ "extends": ["github>liblaf/.github:renovate-config"]
4
+ }
@@ -0,0 +1,33 @@
1
+ name: (Auto) PR
2
+
3
+ on:
4
+ pull_request:
5
+ schedule:
6
+ - cron: "0 0 * * 0"
7
+ workflow_dispatch:
8
+
9
+ jobs:
10
+ merge:
11
+ name: Merge
12
+ permissions:
13
+ pull-requests: write
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
17
+ name: Merge
18
+ uses: liblaf/actions/auto-merge@main
19
+ with:
20
+ add-label: automerge
21
+ label: "autorelease: pending"
22
+ token: ${{ secrets.PAT || github.token }}
23
+
24
+ review:
25
+ name: Review
26
+ permissions:
27
+ pull-requests: write
28
+ runs-on: ubuntu-latest
29
+ steps:
30
+ - name: Review
31
+ uses: liblaf/actions/auto-review@main
32
+ with:
33
+ token: ${{ secrets.PAT || github.token }}
@@ -0,0 +1,78 @@
1
+ name: (Auto) Repo
2
+
3
+ on:
4
+ push:
5
+ paths:
6
+ - .github/workflows/auto-repo.yaml
7
+ schedule:
8
+ - cron: "0 0 * * 0"
9
+ workflow_dispatch:
10
+
11
+ jobs:
12
+ copier-update:
13
+ name: Copier Update
14
+ permissions:
15
+ actions: write
16
+ contents: write
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - name: Checkout
20
+ uses: actions/checkout@v4
21
+ with:
22
+ token: ${{ secrets.PAT || github.token }}
23
+ - name: Copier Update
24
+ uses: liblaf/actions/copier-update@main
25
+ - name: Auto Commit
26
+ uses: stefanzweifel/git-auto-commit-action@v5
27
+ with:
28
+ commit_message: "chore(copier): update from template"
29
+ commit_user_name: ${{ github.actor }}
30
+ commit_user_email: ${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com
31
+ commit_author: ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>
32
+
33
+ label-sync:
34
+ name: Label Sync
35
+ permissions:
36
+ issues: write
37
+ runs-on: ubuntu-latest
38
+ steps:
39
+ - name: Label Sync
40
+ uses: EndBug/label-sync@v2
41
+ with:
42
+ token: ${{ secrets.PAT || github.token }}
43
+ config-file: https://github.com/liblaf/.github/raw/refs/heads/main/.github/labels.yaml
44
+ delete-other-labels: false
45
+
46
+ repo-edit:
47
+ name: Repo Edit
48
+ runs-on: ubuntu-latest
49
+ steps:
50
+ - name: Repo Edit
51
+ run: |-
52
+ gh repo edit ${{ github.repository }} \
53
+ --allow-update-branch \
54
+ --default-branch "main" \
55
+ --delete-branch-on-merge \
56
+ --enable-auto-merge \
57
+ --enable-discussions \
58
+ --enable-issues \
59
+ --enable-merge-commit=false \
60
+ --enable-rebase-merge=false \
61
+ --enable-squash-merge \
62
+ --enable-wiki=false
63
+ env:
64
+ GH_TOKEN: ${{ secrets.PAT || github.token }}
65
+
66
+ set-default-workflow-permissions:
67
+ name: Set Default Workflow Permissions
68
+ runs-on: ubuntu-latest
69
+ steps:
70
+ - name: Set Default Workflow Permissions
71
+ run: |-
72
+ # https://docs.github.com/en/rest/actions/permissions#set-default-workflow-permissions-for-a-repository
73
+ gh api /repos/${{ github.repository }}/actions/permissions/workflow \
74
+ --field default_workflow_permissions="read" \
75
+ --field can_approve_pull_request_reviews=true \
76
+ --method PUT
77
+ env:
78
+ GH_TOKEN: ${{ secrets.PAT || github.token }}
@@ -0,0 +1,25 @@
1
+ # yaml-language-server: $schema=https://json.schemastore.org/github-action.json
2
+ # https://github.com/oxsecurity/megalinter/blob/main/mega-linter-runner/generators/mega-linter/templates/mega-linter.yml
3
+ # https://megalinter.io
4
+
5
+ name: MegaLinter
6
+
7
+ on:
8
+ push:
9
+ pull_request:
10
+
11
+ jobs:
12
+ mega-linter:
13
+ name: MegaLinter
14
+ permissions:
15
+ contents: write # commit fix
16
+ issues: write # https://megalinter.io/latest/reporters/GitHubCommentReporter/
17
+ pull-requests: write # https://megalinter.io/latest/reporters/GitHubCommentReporter/
18
+ security-events: write # https://megalinter.io/latest/reporters/SarifReporter/
19
+ statuses: write # https://megalinter.io/latest/reporters/GitHubStatusReporter/
20
+ runs-on: ubuntu-latest
21
+ steps:
22
+ - name: Checkout
23
+ uses: actions/checkout@v4
24
+ - name: MegaLinter
25
+ uses: liblaf/actions/mega-linter@main
@@ -0,0 +1,79 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ release:
6
+ types:
7
+ - published
8
+
9
+ jobs:
10
+ build:
11
+ name: Build
12
+ runs-on: ubuntu-latest
13
+ outputs:
14
+ artifact-name: ${{ steps.build.outputs.artifact-name }}
15
+ steps:
16
+ - name: Checkout
17
+ uses: actions/checkout@v4
18
+ - id: build
19
+ name: Build and Inspect a Python Package
20
+ uses: hynek/build-and-inspect-python-package@v2
21
+
22
+ publish:
23
+ name: Publish
24
+ permissions:
25
+ id-token: write
26
+ needs:
27
+ - build
28
+ if: github.event_name == 'release'
29
+ runs-on: ubuntu-latest
30
+ steps:
31
+ - name: Download Artifacts
32
+ uses: actions/download-artifact@v4
33
+ with:
34
+ name: ${{ needs.build.outputs.artifact-name }}
35
+ path: dist/
36
+ - name: Publish to PyPI
37
+ uses: pypa/gh-action-pypi-publish@release/v1
38
+
39
+ pre-release:
40
+ name: Pre-Release
41
+ permissions:
42
+ contents: write
43
+ needs:
44
+ - build
45
+ if: github.ref == 'refs/heads/main'
46
+ runs-on: ubuntu-latest
47
+ steps:
48
+ - name: Download Artifacts
49
+ uses: actions/download-artifact@v4
50
+ with:
51
+ name: ${{ needs.build.outputs.artifact-name }}
52
+ path: dist/
53
+ - name: Create Pre-Release
54
+ uses: liblaf/actions/release@main
55
+ with:
56
+ clobber: true
57
+ files: dist/*
58
+ prerelease: true
59
+ tag: latest
60
+
61
+ release:
62
+ name: Release
63
+ permissions:
64
+ contents: write
65
+ needs:
66
+ - build
67
+ if: github.event_name == 'release'
68
+ runs-on: ubuntu-latest
69
+ steps:
70
+ - name: Download Artifacts
71
+ uses: actions/download-artifact@v4
72
+ with:
73
+ name: ${{ needs.build.outputs.artifact-name }}
74
+ path: dist/
75
+ - name: Upload Release Assets
76
+ uses: liblaf/actions/release@main
77
+ with:
78
+ files: dist/*
79
+ tag: ${{ github.event.release.tag_name }}
@@ -0,0 +1,176 @@
1
+ # Created by https://www.toptal.com/developers/gitignore/api/python
2
+ # Edit at https://www.toptal.com/developers/gitignore?templates=python
3
+
4
+ ### Python ###
5
+ # Byte-compiled / optimized / DLL files
6
+ __pycache__/
7
+ *.py[cod]
8
+ *$py.class
9
+
10
+ # C extensions
11
+ *.so
12
+
13
+ # Distribution / packaging
14
+ .Python
15
+ build/
16
+ develop-eggs/
17
+ dist/
18
+ downloads/
19
+ eggs/
20
+ .eggs/
21
+ lib/
22
+ lib64/
23
+ parts/
24
+ sdist/
25
+ var/
26
+ wheels/
27
+ share/python-wheels/
28
+ *.egg-info/
29
+ .installed.cfg
30
+ *.egg
31
+ MANIFEST
32
+
33
+ # PyInstaller
34
+ # Usually these files are written by a python script from a template
35
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
36
+ *.manifest
37
+ *.spec
38
+
39
+ # Installer logs
40
+ pip-log.txt
41
+ pip-delete-this-directory.txt
42
+
43
+ # Unit test / coverage reports
44
+ htmlcov/
45
+ .tox/
46
+ .nox/
47
+ .coverage
48
+ .coverage.*
49
+ .cache
50
+ nosetests.xml
51
+ coverage.xml
52
+ *.cover
53
+ *.py,cover
54
+ .hypothesis/
55
+ .pytest_cache/
56
+ cover/
57
+
58
+ # Translations
59
+ *.mo
60
+ *.pot
61
+
62
+ # Django stuff:
63
+ *.log
64
+ local_settings.py
65
+ db.sqlite3
66
+ db.sqlite3-journal
67
+
68
+ # Flask stuff:
69
+ instance/
70
+ .webassets-cache
71
+
72
+ # Scrapy stuff:
73
+ .scrapy
74
+
75
+ # Sphinx documentation
76
+ docs/_build/
77
+
78
+ # PyBuilder
79
+ .pybuilder/
80
+ target/
81
+
82
+ # Jupyter Notebook
83
+ .ipynb_checkpoints
84
+
85
+ # IPython
86
+ profile_default/
87
+ ipython_config.py
88
+
89
+ # pyenv
90
+ # For a library or package, you might want to ignore these files since the code is
91
+ # intended to run in multiple environments; otherwise, check them in:
92
+ # .python-version
93
+
94
+ # pipenv
95
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
96
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
97
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
98
+ # install all needed dependencies.
99
+ #Pipfile.lock
100
+
101
+ # poetry
102
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
103
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
104
+ # commonly ignored for libraries.
105
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
106
+ #poetry.lock
107
+
108
+ # pdm
109
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
110
+ #pdm.lock
111
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
112
+ # in version control.
113
+ # https://pdm.fming.dev/#use-with-ide
114
+ .pdm.toml
115
+
116
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
117
+ __pypackages__/
118
+
119
+ # Celery stuff
120
+ celerybeat-schedule
121
+ celerybeat.pid
122
+
123
+ # SageMath parsed files
124
+ *.sage.py
125
+
126
+ # Environments
127
+ .env
128
+ .venv
129
+ env/
130
+ venv/
131
+ ENV/
132
+ env.bak/
133
+ venv.bak/
134
+
135
+ # Spyder project settings
136
+ .spyderproject
137
+ .spyproject
138
+
139
+ # Rope project settings
140
+ .ropeproject
141
+
142
+ # mkdocs documentation
143
+ /site
144
+
145
+ # mypy
146
+ .mypy_cache/
147
+ .dmypy.json
148
+ dmypy.json
149
+
150
+ # Pyre type checker
151
+ .pyre/
152
+
153
+ # pytype static type analyzer
154
+ .pytype/
155
+
156
+ # Cython debug symbols
157
+ cython_debug/
158
+
159
+ # PyCharm
160
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
161
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
162
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
163
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
164
+ #.idea/
165
+
166
+ ### Python Patch ###
167
+ # Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
168
+ poetry.toml
169
+
170
+ # ruff
171
+ .ruff_cache/
172
+
173
+ # LSP config files
174
+ pyrightconfig.json
175
+
176
+ # End of https://www.toptal.com/developers/gitignore/api/python
@@ -0,0 +1,7 @@
1
+ #:schema https://json.schemastore.org/ruff.json
2
+ extend = ".github/linters/.ruff.toml"
3
+ target-version = "py312"
4
+
5
+ [lint.flake8-import-conventions.extend-aliases]
6
+ "pydantic_settings" = "ps"
7
+ "subprocess" = "sp"
@@ -0,0 +1,9 @@
1
+ {
2
+ "files.exclude": {
3
+ "**/__pycache__": true,
4
+ "**/.pixi": true,
5
+ "**/.ruff_cache": true,
6
+ "**/.venv": true
7
+ },
8
+ "python.analysis.diagnosticMode": "workspace"
9
+ }