diff --git a/.github/workflows/autoformat-and-lint.yml b/.github/workflows/autoformat-and-lint.yml index 6e87209..ed10c68 100644 --- a/.github/workflows/autoformat-and-lint.yml +++ b/.github/workflows/autoformat-and-lint.yml @@ -5,7 +5,6 @@ on: push: branches: - main - merge_group: jobs: autoformat-and-lint: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4ff13a4..29e938e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,6 @@ on: push: branches: - main - merge_group: jobs: build: @@ -19,7 +18,7 @@ jobs: - name: 🐍 Setup Python uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.x' cache: 'pip' - name: 📦 Install dependencies diff --git a/pyproject.toml b/pyproject.toml index 9a3b6a8..bf8d56d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "vbl-aquarium" dynamic = ["version"] description = 'Collection of Pydantic models describing data objects passed between Virtual Brain Lab projects.' readme = "README.md" -requires-python = ">=3.8, <3.13" +requires-python = ">=3.8" license = "MIT" keywords = ['pydantic', "virtualbrainlab", "neuroscience"] authors = [ @@ -22,6 +22,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Operating System :: OS Independent", @@ -43,44 +44,44 @@ path = "src/vbl_aquarium/__about__.py" exclude = ["/models"] [tool.hatch.envs.default] -python="3.12" +python="3.13" dependencies = [ - "coverage[toml]>=6.5", - "mypy>=1.0.0", - "pytest", +# "coverage[toml]>=6.5", +# "mypy>=1.0.0", +# "pytest", ] -[tool.hatch.envs.default.scripts] -test = "pytest {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" -cov-report = [ - "- coverage combine", - "coverage report", -] -cov = [ - "test-cov", - "cov-report", -] -check = "mypy --strict --install-types --non-interactive {args:src/vbl_aquarium}" - -[tool.coverage.run] -source_pkgs = ["vbl_aquarium", "tests"] -branch = true -parallel = true -omit = [ - "src/vbl_aquarium/__about__.py", -] - -[tool.coverage.paths] -vbl_aquarium = ["src/vbl_aquarium", "*/vbl-aquarium/src/vbl_aquarium"] -tests = ["tests", "*/vbl-aquarium/tests"] +#[tool.hatch.envs.default.scripts] +#test = "pytest {args:tests}" +#test-cov = "coverage run -m pytest {args:tests}" +#cov-report = [ +# "- coverage combine", +# "coverage report", +#] +#cov = [ +# "test-cov", +# "cov-report", +#] +#check = "mypy --strict --install-types --non-interactive {args:src/vbl_aquarium}" -[tool.coverage.report] -exclude_lines = [ - "no cov", - "if __name__ == .__main__.:", - "if TYPE_CHECKING:", -] +#[tool.coverage.run] +#source_pkgs = ["vbl_aquarium", "tests"] +#branch = true +#parallel = true +#omit = [ +# "src/vbl_aquarium/__about__.py", +#] +# +#[tool.coverage.paths] +#vbl_aquarium = ["src/vbl_aquarium", "*/vbl-aquarium/src/vbl_aquarium"] +#tests = ["tests", "*/vbl-aquarium/tests"] +# +#[tool.coverage.report] +#exclude_lines = [ +# "no cov", +# "if __name__ == .__main__.:", +# "if TYPE_CHECKING:", +#] [tool.ruff.lint] ignore=["A003", "EM101", "FBT002", "T201", "TCH001", "TRY002", "TRY003"] \ No newline at end of file