-
Notifications
You must be signed in to change notification settings - Fork 8
unlock packages versions, use mypy strict #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 10 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
bfa49e9
unlock packages versions, use mypy strict
f2fc45e
add new line
716a7b4
fix
d0a676e
update pre-commit deps
681832a
Update Justfile
lesnik512 9770787
remove comments
aa30129
use just in precommit
249108c
rename to DataclassInstance
a67aa12
review fixes
f52eb03
review fixes
0d007c4
review fixes
3366baa
review fixes
b51c378
fix
2e1e902
fix typo
lesnik512 fce0e67
fix ci
lesnik512 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,66 +1,21 @@ | ||
| .idea/ | ||
| .vscode/ | ||
| # Byte-compiled / optimized / DLL files | ||
| pycache/ | ||
| __pycache__ | ||
| *.py[cod] | ||
| *$py.class | ||
| __test* | ||
|
|
||
| # 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 | ||
|
|
||
| # Unit test / coverage reports | ||
| htmlcov/ | ||
| .tox/ | ||
| .nox/ | ||
| *.pyc | ||
| *~ | ||
| __pycache__/* | ||
| *.swp | ||
| *.sqlite3 | ||
| *.map | ||
| .vscode | ||
| .idea | ||
| .DS_Store | ||
| .env | ||
| .mypy_cache | ||
| .pytest_cache | ||
| .ruff_cache | ||
| .coverage | ||
| .coverage.* | ||
| .cache | ||
| nosetests.xml | ||
| htmlcov/ | ||
| coverage.xml | ||
| *.cover | ||
| *.py,cover | ||
| .hypothesis/ | ||
| .pytest_cache/ | ||
| cover/ | ||
|
|
||
| # Environments | ||
| .env | ||
| .gen.env | ||
| pytest.xml | ||
| dist/ | ||
| .python-version | ||
| .venv | ||
| env/ | ||
| venv/ | ||
| ENV/ | ||
| env.bak/ | ||
| venv.bak/ | ||
|
|
||
| # mypy | ||
| .mypy_cache/ | ||
| .dmypy.json | ||
| dmypy.json | ||
|
|
||
| # Cython debug symbols | ||
| cython_debug/ | ||
| node_modules | ||
| .temp | ||
| poetry.lock |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,18 +1,10 @@ | ||
| repos: | ||
| - repo: https://github.com/pre-commit/mirrors-mypy | ||
| rev: v1.11.2 | ||
| - repo: local | ||
| hooks: | ||
| - id: mypy | ||
| name: mypy | ||
| always_run: true | ||
| additional_dependencies: [pydantic>=2.3.4] | ||
| - repo: https://github.com/astral-sh/ruff-pre-commit | ||
| rev: v0.6.9 | ||
| hooks: | ||
| - id: ruff | ||
| name: ruff-check | ||
| always_run: true | ||
| args: [--fix] | ||
| - id: ruff-format | ||
| name: ruff-format | ||
| always_run: true | ||
| - id: lint | ||
| name: lint | ||
| entry: just | ||
| args: [lint] | ||
| language: system | ||
| types: [python] | ||
| pass_filenames: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| default: install lint test | ||
|
|
||
| test *args: | ||
| poetry run pytest {{ args }} | ||
|
|
||
| install: | ||
| poetry install --sync --no-root --all-extras | ||
|
|
||
| lint: | ||
| poetry run ruff format | ||
| poetry run ruff check --fix | ||
| poetry run mypy . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.