-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
13 support gmp for variable size numbers (#22)
* feat(buildext.py): build GMP extension * perf(pyproject.toml): build command * perf(CMakeLists.txt): link GMP library * perf(pyproject.toml): fastest group with gmpy2 * perf(noxfile.py): tests for fastest * feat(fastest): common.py) * feat(fastest): base26.py * feat(fastest): base52.py * feat(fastest): __init__.py * perf(__init__.py): native or fastest * perf(common.py): mpz drop-in conversion co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com> * fix: C++ implementation * fix: pre-commit linting * perf: README * fix: C++ formatting config * fix: pre-commit config * feat: uv package * feat: polishing * fix: README --------- Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
- Loading branch information
1 parent
437caeb
commit d5efc85
Showing
35 changed files
with
1,505 additions
and
420 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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 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,37 +1,30 @@ | ||
ci: | ||
autoupdate_commit_msg: "chore: update pre-commit hooks" | ||
autofix_commit_msg: "style: pre-commit fixes" | ||
autoupdate_commit_msg: "chore: pre-commit" | ||
autofix_commit_msg: "style: pre-commit" | ||
|
||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
rev: v5.0.0 | ||
hooks: | ||
- id: check-added-large-files | ||
- id: check-symlinks | ||
- id: check-yaml | ||
- id: debug-statements | ||
- id: end-of-file-fixer | ||
- id: mixed-line-ending | ||
- id: requirements-txt-fixer | ||
- id: trailing-whitespace | ||
|
||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: "v0.4.8" | ||
rev: v0.8.0 | ||
hooks: | ||
- id: ruff | ||
args: [--fix, --exit-non-zero-on-fix] | ||
- id: ruff-format | ||
exclude: ^(docs) | ||
- id: ruff | ||
args: [--fix, --exit-non-zero-on-fix] | ||
files: ^(src|tests) | ||
- id: ruff-format | ||
exclude: ^(docs) | ||
files: ^(src|tests) | ||
|
||
- repo: https://github.com/cheshirekow/cmake-format-precommit | ||
rev: v0.6.13 | ||
- repo: https://github.com/astral-sh/uv-pre-commit | ||
rev: 0.5.0 | ||
hooks: | ||
- id: cmake-format | ||
additional_dependencies: [pyyaml] | ||
types: [file] | ||
files: (\.cmake|CMakeLists.txt)(.in)?$ | ||
|
||
- repo: https://github.com/pre-commit/mirrors-clang-format | ||
rev: v13.0.0 | ||
hooks: | ||
- id: clang-format | ||
- id: uv-lock | ||
- id: uv-export |
This file contains 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 @@ | ||
3.10 |
This file was deleted.
Oops, something went wrong.
This file contains 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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 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 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.