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
10 changes: 5 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ jobs:
shell: bash -el {0}
steps:
- name: Check out Git repository
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Get week number
run: echo "WEEK=$(date +'%V')" >> $GITHUB_ENV

- name: Set up Python ${{ matrix.python-version }}
uses: mamba-org/setup-micromamba@v2
uses: mamba-org/setup-micromamba@v3
with:
create-args: python=${{ matrix.python-version }}
environment-file: environment-dev.yml
Expand All @@ -64,12 +64,12 @@ jobs:
run: sphinx-build docs/source/ public -b dirhtml

- name: Setup Pages
uses: actions/configure-pages@v5
uses: actions/configure-pages@v6
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
uses: actions/upload-pages-artifact@v5
with:
# Upload generated html
path: "public/"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v5
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
url: https://pypi.org/project/fixbikenet/

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Build package
run: |
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
caching:
strategy:
matrix:
python-version: ["3.12", "3.14"]
python-version: ["3.12", "3.15"]
os: [ ubuntu-latest ]
fail-fast: false
env:
Expand All @@ -31,10 +31,10 @@ jobs:
run:
shell: bash -elo pipefail {0}

name: Cache for ${{ matrix.python-version }} on ${{ matrix.os }}
name: cache (${{ matrix.python-version }} on ${{ matrix.os }})
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- name: Get week number
run: echo "WEEK=$(date +'%V')" >> $GITHUB_ENV
Expand All @@ -51,11 +51,11 @@ jobs:
needs: caching
strategy:
matrix:
python-version: ["3.12", "3.14"]
python-version: ["3.12", "3.15"]
os: [ ubuntu-latest ]
submodule:
- { name: "Main", pytest_args: "tests/test_main.py" }
- { name: "Functions", pytest_args: "tests/test_functions.py" }
- { name: "fixbikenet", pytest_args: "tests/test_fixbikenet.py" }
- { name: "functions", pytest_args: "tests/test_functions.py" }
fail-fast: false

name: ${{ matrix.submodule.name }} (${{ matrix.python-version }} on ${{ matrix.os }})
Expand All @@ -66,7 +66,7 @@ jobs:
shell: bash -el {0}

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- name: Get week number
run: echo "WEEK=$(date +'%V')" >> $GITHUB_ENV
Expand All @@ -87,7 +87,7 @@ jobs:
pytest ${{ matrix.submodule.pytest_args }} --cov --cov-branch --cov-report=xml

- name: Upload results to Codecov
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@v7
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: BikeNetKit/FixBikeNet
11 changes: 8 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,19 @@ repos:
- id: mixed-line-ending
- id: check-illegal-windows-names

- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.1.0"
- repo: local # https://github.com/prettier/prettier/discussions/16227#discussioncomment-18456780
hooks:
- id: prettier
name: prettier
entry: prettier
args: [--write, --ignore-unknown]
language: node
types_or: [markdown, yaml]
additional_dependencies:
- prettier@3.9.10
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.16.7
rev: v0.17.0
hooks:
# Run the linter.
- id: ruff-check
Expand Down
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ build-backend = "setuptools.build_meta"
name = "fixbikenet"
version = "0.8.2"
authors = [
{name = "Manuel Knepper"},
{name = "Anastassia Vybornova"},
{name = "Michael Szell", email = "michael@szell.net"},
{ name = "Michael Szell", email = "michael@szell.net" },
{ name = "Manuel Knepper" },
{ name = "Anastassia Vybornova" },
]
maintainers = [
{name = "Michael Szell", email = "michael@szell.net"},
{ name = "Michael Szell", email = "michael@szell.net" },
]
license = "AGPL-3.0-or-later"
readme = "README.md"
Expand All @@ -28,6 +28,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Natural Language :: English",
"Topic :: Scientific/Engineering :: GIS",
]
Expand Down
File renamed without changes.
Loading