Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bumpversion.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .coveragerc.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[html]
directory = ".coverage/html"

[report]
exclude_also = ["@overload", "if TYPE_CHECKING:"]
skip_covered = true
skip_empty = true

[run]
branch = true
data_file = ".coverage/data"
parallel = true
2 changes: 1 addition & 1 deletion .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ echo_date() { echo "[$(date +'%Y-%m-%d %H:%M:%S')] $*" >&2; }
# uv
export UV_MANAGED_PYTHON='true'
export UV_PRERELEASE='disallow'
export UV_PYTHON='3.14'
export UV_PYTHON='3.12'
export UV_RESOLUTION='highest'
export UV_VENV_CLEAR=1
if ! command -v uv >/dev/null 2>&1; then
Expand Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.bumpversion.toml linguist-generated=true
13 changes: 8 additions & 5 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: pull-request
on:
"on":
pull_request:
branches:
- master
Expand All @@ -12,13 +12,13 @@ jobs:
- name: Run 'pyright'
uses: dycw/action-pyright@latest
with:
python-version: "3.14"
python-version: "3.12"
pytest:
env:
CI: "1"
name: pytest (${{matrix.os}}, ${{matrix.python-version}},
${{matrix.resolution}})
runs-on: ${{matrix.os}}
name: pytest (${{matrix.os}}, ${{matrix.python-version}}, ${{matrix.resolution}})
runs-on:
- ${{matrix.os}}
steps:
- name: Run 'pytest'
uses: dycw/action-pytest@latest
Expand All @@ -32,10 +32,13 @@ jobs:
- macos-latest
- ubuntu-latest
python-version:
- "3.12"
- "3.13"
- "3.14"
resolution:
- highest
- lowest-direct
timeout-minutes: 10
ruff:
runs-on: ubuntu-latest
steps:
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/push.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: push
on:
"on":
push:
branches:
- master
Expand All @@ -9,3 +9,13 @@ jobs:
steps:
- name: Tag the latest commit
uses: dycw/action-tag-commit@latest
publish:
environment:
name: pypi
permissions:
id-token: write
runs-on: ubuntu-latest
steps:
- name: Build and publish the package
uses: dycw/action-publish-package@latest
with: {}
57 changes: 29 additions & 28 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,31 @@
#### STANDARD GITIGNORE #######################################################
#### GENERIC GITIGNORE #########################################################

**/*.csv
**/*.db
**/*.gz
**/*.html
**/*.ipc
**/*.ipynb
**/*.pdf
**/*.pickle
**/*.shelf
**/*.sqlite
**/*.tar.gz
**/*.tar.lz
**/*.tmp
.direnv/
.logs/
htmls/
ipcs/
pdfs/
pickles/
shelves/
tmp/

#### END OF GENERIC GITIGNORE #################################################


#### PYTHON GITIGNORE #########################################################

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down Expand Up @@ -215,30 +242,4 @@ __marimo__/
# Streamlit
.streamlit/secrets.toml

#### END OF STANDARD GITIGNORE ################################################

#### CUSTOM GITIGNORE #########################################################

**/*.csv
**/*.db
**/*.gz
**/*.html
**/*.ipc
**/*.ipynb
**/*.pdf
**/*.pickle
**/*.shelf
**/*.sqlite
**/*.tar.gz
**/*.tar.lz
**/*.tmp
.direnv/
.logs/
htmls/
ipcs/
pdfs/
pickles/
shelves/
tmp/

#### END OF CUSTOM GITIGNORE ##################################################
#### END OF PYTHON GITIGNORE ##################################################
Loading
Loading