Skip to content

Commit

Permalink
Trial start of cruft update
Browse files Browse the repository at this point in the history
  • Loading branch information
semenko committed Sep 12, 2024
1 parent 39b8dd3 commit ee713d4
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/statisticsnorway/ssb-pypitemplate.git",
"commit": "e81154758223bbeb62e2117de27029295c13e126",
"commit": "e6f0ca2794354d16838cf36d97bee2f9f70d3142",
"checkout": null,
"context": {
"cookiecutter": {
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ jobs:
- name: Install Poetry
run: |
pipx install --pip-args "-c .github/workflows/constraints.txt" poetry
pipx install --pip-args "-c ${{ github.workspace }}/.github/workflows/constraints.txt" poetry
poetry --version
- name: Install Nox
run: |
pipx install --pip-args "-c .github/workflows/constraints.txt" nox
pipx inject --pip-args "-c .github/workflows/constraints.txt" nox nox-poetry
pipx install --pip-args "-c ${{ github.workspace }}/.github/workflows/constraints.txt" nox
pipx inject --pip-args "-c ${{ github.workspace }}/.github/workflows/constraints.txt" nox nox-poetry
nox --version
- name: Compute pre-commit cache key
Expand Down Expand Up @@ -101,6 +101,7 @@ jobs:
with:
name: coverage-data-${{ matrix.os }}-${{ matrix.python }}
path: ".coverage.*"
include-hidden-files: true

- name: Upload documentation
if: matrix.session == 'docs-build'
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Request features on the [Issue Tracker].

## How to set up your development environment

You need Python 3.9+ and the following tools:
You need Python 3.10+ and the following tools:

- [Poetry]
- [Nox]
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
raise SystemExit(dedent(message)) from None

package = "bam2tensor"
python_versions = ["3.10", "3.11", "3.12", "3.9"]
python_versions = ["3.10", "3.11", "3.12"]
nox.needs_version = ">= 2021.6.6"
nox.options.sessions = (
"pre-commit",
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ classifiers = ["Development Status :: 4 - Beta"]
Changelog = "https://github.com/mcwdsi/bam2tensor/releases"

[tool.poetry.dependencies]
python = ">=3.9,<4.0"
python = ">=3.10"
click = ">=8.0.1"
numpy = ">=1.26.2"
scipy = ">=1.11.4"
Expand Down Expand Up @@ -72,7 +72,7 @@ ignore_missing_imports = true
force-exclude = true # Apply excludes to pre-commit
show-fixes = true
src = ["src", "tests"]
target-version = "py39" # Minimum Python version supported
target-version = "py310" # Minimum Python version supported
include = ["*.py", "*.pyi", "**/pyproject.toml", "*.ipynb"]
extend-exclude = [
"__pycache__",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from bam2tensor import __main__


@pytest.fixture()
@pytest.fixture
def runner() -> CliRunner:
"""Fixture for invoking command-line interfaces."""
return CliRunner()
Expand Down

0 comments on commit ee713d4

Please sign in to comment.