edgework 0.4.7__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 (86) hide show
  1. edgework-0.4.7/.deepsource.toml +20 -0
  2. edgework-0.4.7/.devcontainer/devcontainer.json +62 -0
  3. edgework-0.4.7/.flake8 +2 -0
  4. edgework-0.4.7/.github/workflows/docs.yml +69 -0
  5. edgework-0.4.7/.github/workflows/publish.yml +143 -0
  6. edgework-0.4.7/.github/workflows/python-test.yml +28 -0
  7. edgework-0.4.7/.gitignore +207 -0
  8. edgework-0.4.7/.idea/.gitignore +8 -0
  9. edgework-0.4.7/.idea/edgework.iml +8 -0
  10. edgework-0.4.7/.idea/inspectionProfiles/profiles_settings.xml +6 -0
  11. edgework-0.4.7/.idea/misc.xml +7 -0
  12. edgework-0.4.7/.idea/modules.xml +8 -0
  13. edgework-0.4.7/.idea/vcs.xml +6 -0
  14. edgework-0.4.7/.pre-commit-config.yaml +24 -0
  15. edgework-0.4.7/.vscode/settings.json +8 -0
  16. edgework-0.4.7/CHANGELOG.md +91 -0
  17. edgework-0.4.7/LICENSE +21 -0
  18. edgework-0.4.7/PKG-INFO +222 -0
  19. edgework-0.4.7/README.md +207 -0
  20. edgework-0.4.7/docs/api/client.md +93 -0
  21. edgework-0.4.7/docs/api/games.md +13 -0
  22. edgework-0.4.7/docs/api/nhl-apis.md +107 -0
  23. edgework-0.4.7/docs/api/players.md +25 -0
  24. edgework-0.4.7/docs/api/schedule.md +29 -0
  25. edgework-0.4.7/docs/api/stats.md +278 -0
  26. edgework-0.4.7/docs/api/teams.md +223 -0
  27. edgework-0.4.7/docs/changelog.md +33 -0
  28. edgework-0.4.7/docs/contributing.md +184 -0
  29. edgework-0.4.7/docs/examples/advanced.md +269 -0
  30. edgework-0.4.7/docs/examples/basic-usage.md +152 -0
  31. edgework-0.4.7/docs/examples/patterns.md +352 -0
  32. edgework-0.4.7/docs/getting-started/configuration.md +186 -0
  33. edgework-0.4.7/docs/getting-started/installation.md +65 -0
  34. edgework-0.4.7/docs/getting-started/quickstart.md +95 -0
  35. edgework-0.4.7/docs/index.md +97 -0
  36. edgework-0.4.7/docs/llm-usage.md +114 -0
  37. edgework-0.4.7/edgework/.cache/teams.json +34 -0
  38. edgework-0.4.7/edgework/NHL API Documentation.md +1461 -0
  39. edgework-0.4.7/edgework/__init__.py +7 -0
  40. edgework-0.4.7/edgework/clients/__init__.py +1 -0
  41. edgework-0.4.7/edgework/clients/game_client.py +45 -0
  42. edgework-0.4.7/edgework/clients/glossary_client.py +12 -0
  43. edgework-0.4.7/edgework/clients/player_client.py +209 -0
  44. edgework-0.4.7/edgework/clients/schedule_client.py +237 -0
  45. edgework-0.4.7/edgework/clients/shift_client.py +13 -0
  46. edgework-0.4.7/edgework/clients/standings_client.py +65 -0
  47. edgework-0.4.7/edgework/clients/stats_client.py +179 -0
  48. edgework-0.4.7/edgework/clients/team_client.py +228 -0
  49. edgework-0.4.7/edgework/const.py +7 -0
  50. edgework-0.4.7/edgework/edgework.py +385 -0
  51. edgework-0.4.7/edgework/endpoints.py +78 -0
  52. edgework-0.4.7/edgework/errors.py +4 -0
  53. edgework-0.4.7/edgework/http_client.py +106 -0
  54. edgework-0.4.7/edgework/models/__init__.py +1 -0
  55. edgework-0.4.7/edgework/models/base.py +57 -0
  56. edgework-0.4.7/edgework/models/config.py +39 -0
  57. edgework-0.4.7/edgework/models/draft.py +120 -0
  58. edgework-0.4.7/edgework/models/game.py +94 -0
  59. edgework-0.4.7/edgework/models/game_events.py +63 -0
  60. edgework-0.4.7/edgework/models/glossary.py +49 -0
  61. edgework-0.4.7/edgework/models/player.py +373 -0
  62. edgework-0.4.7/edgework/models/playoffs.py +62 -0
  63. edgework-0.4.7/edgework/models/schedule.py +308 -0
  64. edgework-0.4.7/edgework/models/shift.py +153 -0
  65. edgework-0.4.7/edgework/models/standings.py +119 -0
  66. edgework-0.4.7/edgework/models/stats.py +505 -0
  67. edgework-0.4.7/edgework/models/team.py +541 -0
  68. edgework-0.4.7/edgework/utilities.py +21 -0
  69. edgework-0.4.7/edgework.egg-info/PKG-INFO +222 -0
  70. edgework-0.4.7/edgework.egg-info/SOURCES.txt +84 -0
  71. edgework-0.4.7/edgework.egg-info/dependency_links.txt +1 -0
  72. edgework-0.4.7/edgework.egg-info/requires.txt +6 -0
  73. edgework-0.4.7/edgework.egg-info/top_level.txt +1 -0
  74. edgework-0.4.7/mkdocs.yml +100 -0
  75. edgework-0.4.7/pyproject.toml +49 -0
  76. edgework-0.4.7/requirements.txt +19 -0
  77. edgework-0.4.7/setup.cfg +4 -0
  78. edgework-0.4.7/tests/__init__.py +0 -0
  79. edgework-0.4.7/tests/test_draft.py +0 -0
  80. edgework-0.4.7/tests/test_edgework.py +583 -0
  81. edgework-0.4.7/tests/test_players.py +558 -0
  82. edgework-0.4.7/tests/test_schedule.py +509 -0
  83. edgework-0.4.7/tests/test_stats.py +414 -0
  84. edgework-0.4.7/tests/test_teams.py +209 -0
  85. edgework-0.4.7/tests/test_validation.py +350 -0
  86. edgework-0.4.7/uv.lock +1337 -0
@@ -0,0 +1,20 @@
1
+ version = 1
2
+
3
+ test_patterns = [
4
+ "tests/**/*.py",
5
+ "**/test_*.py",
6
+ "**/*_test.py"
7
+ ]
8
+
9
+ [[analyzers]]
10
+ name = "python"
11
+
12
+ [analyzers.meta]
13
+ runtime_version = "3.x.x"
14
+
15
+ [analyzers.config]
16
+ # Ignore assert usage in test files
17
+ ignore_rules = []
18
+
19
+ # Test framework configuration
20
+ test_framework = "pytest"
@@ -0,0 +1,62 @@
1
+ {
2
+ "name": "Edgework Python Development",
3
+ "image": "mcr.microsoft.com/devcontainers/python:1-3.11-bullseye",
4
+
5
+ "features": {
6
+ "ghcr.io/devcontainers/features/docker-in-docker:2": {},
7
+ "ghcr.io/devcontainers/features/github-cli:1": {},
8
+ "ghcr.io/va-h/devcontainers-features/uv:1": {},
9
+ "ghcr.io/devcontainers-extra/features/act:1": {}
10
+ },
11
+
12
+ "customizations": {
13
+ "vscode": {
14
+ "extensions": [
15
+ "ms-python.python",
16
+ "ms-python.black-formatter",
17
+ "ms-python.flake8",
18
+ "ms-python.pylint",
19
+ "ms-toolsai.jupyter",
20
+ "ms-vscode.test-adapter-converter",
21
+ "ms-python.pytest",
22
+ "charliermarsh.ruff",
23
+ "GitHub.copilot",
24
+ "GitHub.copilot-chat",
25
+ "GitHub.vscode-github-actions",
26
+ "redhat.vscode-yaml"
27
+ ],
28
+ "settings": {
29
+ "python.defaultInterpreterPath": "/usr/local/bin/python",
30
+ "python.terminal.activateEnvironment": true,
31
+ "python.linting.enabled": true,
32
+ "python.linting.pylintEnabled": false,
33
+ "python.linting.flake8Enabled": true,
34
+ "python.formatting.provider": "black",
35
+ "python.testing.pytestEnabled": true,
36
+ "python.testing.unittestEnabled": false,
37
+ "python.testing.pytestArgs": [
38
+ "tests"
39
+ ],
40
+ "files.associations": {
41
+ "*.yml": "yaml",
42
+ "*.yaml": "yaml"
43
+ }
44
+ }
45
+ }
46
+ },
47
+
48
+ // "postCreateCommand": "bash .devcontainer/setup.sh",
49
+
50
+ "remoteUser": "vscode",
51
+
52
+ "mounts": [
53
+ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"
54
+ ],
55
+
56
+ "forwardPorts": [8000, 8080],
57
+
58
+ "containerEnv": {
59
+ "PYTHONPATH": "/workspaces/edgework",
60
+ "POETRY_VENV_IN_PROJECT": "true"
61
+ }
62
+ }
edgework-0.4.7/.flake8 ADDED
@@ -0,0 +1,2 @@
1
+ [flake8]
2
+ max-line-length = 120
@@ -0,0 +1,69 @@
1
+ name: Deploy Documentation
2
+
3
+ on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
+ branches: [ main ]
8
+ workflow_dispatch:
9
+
10
+ permissions:
11
+ contents: read
12
+ pages: write
13
+ id-token: write
14
+
15
+ concurrency:
16
+ group: "pages"
17
+ cancel-in-progress: true
18
+
19
+ jobs:
20
+ build:
21
+ runs-on: ubuntu-22.04
22
+ steps:
23
+ - name: Checkout
24
+ uses: actions/checkout@v4
25
+ with:
26
+ fetch-depth: 0
27
+
28
+ - name: Setup Python
29
+ uses: actions/setup-python@v4
30
+ with:
31
+ python-version: '3.11'
32
+
33
+ - name: Setup PDM
34
+ uses: pdm-project/setup-pdm@v3
35
+ with:
36
+ python-version: '3.11'
37
+
38
+ - name: Install dependencies
39
+ run: |
40
+ pdm install --dev --group docs
41
+
42
+ - name: Setup Pages
43
+ id: pages
44
+ uses: actions/configure-pages@v3
45
+
46
+ - name: Build with MkDocs
47
+ run: |
48
+ pdm run mkdocs build --clean
49
+ touch site/.nojekyll
50
+
51
+ - name: Upload artifact
52
+ uses: actions/upload-pages-artifact@v3
53
+ with:
54
+ path: ./site
55
+
56
+ deploy:
57
+ if: github.ref == 'refs/heads/main'
58
+ runs-on: ubuntu-22.04
59
+ needs: build
60
+ permissions:
61
+ contents: read
62
+ pages: write
63
+ id-token: write
64
+ steps:
65
+ - name: Deploy to GitHub Pages
66
+ id: deployment
67
+ uses: actions/deploy-pages@v4
68
+ with:
69
+ token: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,143 @@
1
+ # .github/workflows/python-publish.yml
2
+ name: Publish Python Package to PyPI and TestPyPI
3
+
4
+ on:
5
+ push:
6
+ branches:
7
+ - main # Or your primary release branch (e.g., master)
8
+ - develop # Or your development branch for TestPyPI releases
9
+ tags:
10
+ - 'v*.*.*' # Publishes on version tags like v1.0.0, v1.2.3, etc.
11
+ workflow_dispatch:
12
+ inputs:
13
+ environment:
14
+ description: 'Environment to publish to'
15
+ required: true
16
+ default: 'testpypi'
17
+ type: choice
18
+ options:
19
+ - testpypi
20
+ - pypi
21
+
22
+ jobs:
23
+ build:
24
+ name: Build distribution
25
+ runs-on: ubuntu-latest
26
+ steps:
27
+ - name: Checkout repository
28
+ uses: actions/checkout@v4
29
+
30
+ - name: Set up Python
31
+ uses: actions/setup-python@v5
32
+ with:
33
+ python-version: '3.x' # Specify your desired Python version, e.g., '3.9', '3.10', '3.11'
34
+
35
+ - name: Install build dependencies
36
+ run: |
37
+ python -m pip install --upgrade pip
38
+ pip install build
39
+
40
+ - name: Auto-bump version if needed
41
+ run: |
42
+ # 1. Get current version from pyproject.toml
43
+ CURRENT_VERSION=$(grep -m 1 'version =' pyproject.toml | cut -d '"' -f 2)
44
+ echo "Current local version: $CURRENT_VERSION"
45
+
46
+ # 2. Check PyPI for this version
47
+ HTTP_CODE=$(curl -s -o /dev/null -w "%{http_code}" https://pypi.org/pypi/edgework/$CURRENT_VERSION/json)
48
+
49
+ if [ "$HTTP_CODE" -eq 200 ]; then
50
+ echo "⚠️ Version $CURRENT_VERSION exists on PyPI. Bumping patch version..."
51
+
52
+ # 3. Split version into parts (Major.Minor.Patch)
53
+ IFS='.' read -r major minor patch <<< "$CURRENT_VERSION"
54
+ NEW_PATCH=$((patch + 1))
55
+ NEW_VERSION="$major.$minor.$NEW_PATCH"
56
+
57
+ echo "🚀 Bumping to $NEW_VERSION"
58
+
59
+ # 4. Update pyproject.toml and __init__.py
60
+ sed -i "s/version = \"$CURRENT_VERSION\"/version = \"$NEW_VERSION\"/" pyproject.toml
61
+ sed -i "s/__version__ = \"$CURRENT_VERSION\"/__version__ = \"$NEW_VERSION\"/" edgework/__init__.py
62
+
63
+ # Optional: Configure git to commit this bump back to the repo
64
+ # git config user.name "github-actions"
65
+ # git config user.email "actions@github.com"
66
+ # git commit -am "chore: auto-bump version to $NEW_VERSION [skip ci]"
67
+ # git push
68
+ else
69
+ echo "✅ Version $CURRENT_VERSION is unique. Proceeding."
70
+ fi
71
+
72
+ - name: Build package
73
+ run: python -m build
74
+
75
+ - name: Store the distribution packages
76
+ uses: actions/upload-artifact@v4
77
+ with:
78
+ name: python-package-distributions
79
+ path: dist/
80
+
81
+ publish-to-testpypi:
82
+ name: Publish to TestPyPI
83
+ needs: build
84
+ runs-on: ubuntu-latest
85
+ # Run this job for pushes to the 'develop' branch or manual dispatch to 'testpypi'
86
+ # Adjust 'refs/heads/develop' if your development branch has a different name
87
+ if: |
88
+ (github.event_name == 'push' && github.ref == 'refs/heads/develop') ||
89
+ (github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'testpypi')
90
+ environment:
91
+ name: testpypi
92
+ url: https://test.pypi.org/pypi/edgework/
93
+ permissions:
94
+ id-token: write # Required for trusted publishing (OIDC)
95
+ steps:
96
+ - name: Download distribution packages
97
+ uses: actions/download-artifact@v4
98
+ with:
99
+ name: python-package-distributions
100
+ path: dist/
101
+
102
+ - name: Publish package to TestPyPI
103
+ uses: pypa/gh-action-pypi-publish@release/v1
104
+ with:
105
+ repository-url: https://test.pypi.org/legacy/
106
+ # For trusted publishing (OIDC), no token is needed here if TestPyPI project is configured.
107
+ # To use an API token instead (less secure):
108
+ # password: ${{ secrets.TEST_PYPI_API_TOKEN }}
109
+
110
+ publish-to-pypi:
111
+ name: Publish to PyPI
112
+ needs: build
113
+ runs-on: ubuntu-latest
114
+ # Run this job for pushes of tags starting with 'v',
115
+ # or pushes to the 'main' branch,
116
+ # or manual dispatch to 'pypi'.
117
+ # Adjust 'refs/heads/main' if your release branch has a different name.
118
+ # Prioritize tag-based releases for official versions.
119
+ if: |
120
+ (startsWith(github.ref, 'refs/tags/v')) ||
121
+ (github.event_name == 'push' && github.ref == 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/')) ||
122
+ (github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'pypi')
123
+ environment:
124
+ name: pypi
125
+ url: https://pypi.org/pypi/edgework/
126
+ permissions:
127
+ id-token: write # Required for trusted publishing (OIDC)
128
+ steps:
129
+ - name: Download distribution packages
130
+ uses: actions/download-artifact@v4
131
+ with:
132
+ name: python-package-distributions
133
+ path: dist/
134
+
135
+ - name: Publish package to PyPI
136
+ uses: pypa/gh-action-pypi-publish@release/v1
137
+ with:
138
+ repository-url: https://upload.pypi.org/legacy/
139
+ # For trusted publishing (OIDC), no token is needed here if PyPI project is configured.
140
+ # The 'repository-url' defaults to PyPI, so it's not strictly needed.
141
+ # To use an API token instead (less secure):
142
+ # password: ${{ secrets.PYPI_API_TOKEN }}
143
+ # skip_existing: true # Optional: uncomment to skip if version already exists
@@ -0,0 +1,28 @@
1
+ name: Tests
2
+
3
+ on: [push, pull_request]
4
+
5
+ # This workflow contains a matrix that tests the Python code with multiple versions of Python
6
+ # Also it reports the test coverage to Codecov
7
+ jobs:
8
+ run-tests:
9
+ runs-on: ubuntu-latest
10
+ strategy:
11
+ matrix:
12
+ python-version: ['3.10', '3.11']
13
+ steps:
14
+ - uses: actions/checkout@v2
15
+ - name: Set up Python ${{ matrix.python-version }}
16
+ uses: actions/setup-python@v2
17
+ with:
18
+ python-version: ${{ matrix.python-version }}
19
+ - name: Install PDM
20
+ run: python -m pip install --upgrade pip && pip install pdm
21
+ - name: Install dependencies with PDM
22
+ run: pdm install -G:all
23
+ - name: Run tests
24
+ run: pdm run pytest --cov=kalista tests/
25
+ - name: Upload coverage to Codecov
26
+ uses: codecov/codecov-action@v4.0.1
27
+ with:
28
+ token: ${{ secrets.CODECOV_TOKEN }}
@@ -0,0 +1,207 @@
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
+ .hypothesis/
51
+ .pytest_cache/
52
+ cover/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ .pybuilder/
76
+ target/
77
+
78
+ # Jupyter Notebook
79
+ .ipynb_checkpoints
80
+
81
+ # IPython
82
+ profile_default/
83
+ ipython_config.py
84
+
85
+ # pyenv
86
+ # For a library or package, you might want to ignore these files since the code is
87
+ # intended to run in multiple environments; otherwise, check them in:
88
+ # .python-version
89
+
90
+ # pipenv
91
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
+ # install all needed dependencies.
95
+ #Pipfile.lock
96
+
97
+ # UV
98
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
99
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
100
+ # commonly ignored for libraries.
101
+ #uv.lock
102
+
103
+ # poetry
104
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
105
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
106
+ # commonly ignored for libraries.
107
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
108
+ #poetry.lock
109
+ #poetry.toml
110
+
111
+ # pdm
112
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
113
+ #pdm.lock
114
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
115
+ # in version control.
116
+ # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
117
+ .pdm.toml
118
+ .pdm-python
119
+ .pdm-build/
120
+
121
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
122
+ __pypackages__/
123
+
124
+ # Celery stuff
125
+ celerybeat-schedule
126
+ celerybeat.pid
127
+
128
+ # SageMath parsed files
129
+ *.sage.py
130
+
131
+ # Environments
132
+ .env
133
+ .envrc
134
+ .venv
135
+ env/
136
+ venv/
137
+ ENV/
138
+ env.bak/
139
+ venv.bak/
140
+
141
+ # Spyder project settings
142
+ .spyderproject
143
+ .spyproject
144
+
145
+ # Rope project settings
146
+ .ropeproject
147
+
148
+ # mkdocs documentation
149
+ /site
150
+
151
+ # mypy
152
+ .mypy_cache/
153
+ .dmypy.json
154
+ dmypy.json
155
+
156
+ # Pyre type checker
157
+ .pyre/
158
+
159
+ # pytype static type analyzer
160
+ .pytype/
161
+
162
+ # Cython debug symbols
163
+ cython_debug/
164
+
165
+ # PyCharm
166
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
167
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
168
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
169
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
170
+ #.idea/
171
+
172
+ # Abstra
173
+ # Abstra is an AI-powered process automation framework.
174
+ # Ignore directories containing user credentials, local state, and settings.
175
+ # Learn more at https://abstra.io/docs
176
+ .abstra/
177
+
178
+ # Visual Studio Code
179
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
180
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
181
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
182
+ # you could uncomment the following to ignore the entire vscode folder
183
+ # .vscode/
184
+
185
+ # Ruff stuff:
186
+ .ruff_cache/
187
+
188
+ # PyPI configuration file
189
+ .pypirc
190
+
191
+ # Cursor
192
+ # Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
193
+ # exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
194
+ # refer to https://docs.cursor.com/context/ignore-files
195
+ .cursorignore
196
+ .cursorindexingignore
197
+
198
+ # Marimo
199
+ marimo/_static/
200
+ marimo/_lsp/
201
+ __marimo__/
202
+
203
+ *.json
204
+ __pycache__/
205
+ *.pyc
206
+ edgework/.cache/teams.json
207
+ .gitignore
@@ -0,0 +1,8 @@
1
+ # Default ignored files
2
+ /shelf/
3
+ /workspace.xml
4
+ # Editor-based HTTP Client requests
5
+ /httpRequests/
6
+ # Datasource local storage ignored files
7
+ /dataSources/
8
+ /dataSources.local.xml
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="PYTHON_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$" />
5
+ <orderEntry type="jdk" jdkName="Poetry (edgework)" jdkType="Python SDK" />
6
+ <orderEntry type="sourceFolder" forTests="false" />
7
+ </component>
8
+ </module>
@@ -0,0 +1,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <settings>
3
+ <option name="USE_PROJECT_PROFILE" value="false" />
4
+ <version value="1.0" />
5
+ </settings>
6
+ </component>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Black">
4
+ <option name="sdkName" value="Poetry (edgework)" />
5
+ </component>
6
+ <component name="ProjectRootManager" version="2" project-jdk-name="Poetry (edgework)" project-jdk-type="Python SDK" />
7
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/edgework.iml" filepath="$PROJECT_DIR$/.idea/edgework.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="Git" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,24 @@
1
+ repos:
2
+ - repo: local
3
+ hooks:
4
+ - id: black
5
+ name: black
6
+ entry: uv run black
7
+ language: system
8
+ types: [python]
9
+ args: [--line-length=88]
10
+ - id: isort
11
+ name: isort
12
+ entry: uv run isort
13
+ language: system
14
+ types: [python]
15
+ args: [--profile, black]
16
+
17
+ - repo: https://github.com/pre-commit/pre-commit-hooks
18
+ rev: v5.0.0
19
+ hooks:
20
+ - id: trailing-whitespace
21
+ - id: end-of-file-fixer
22
+ - id: check-yaml
23
+ - id: check-added-large-files
24
+ - id: check-merge-conflict
@@ -0,0 +1,8 @@
1
+ {
2
+ "python.analysis.typeCheckingMode": "off",
3
+ "python.testing.pytestArgs": [
4
+ "tests"
5
+ ],
6
+ "python.testing.unittestEnabled": false,
7
+ "python.testing.pytestEnabled": true
8
+ }