Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
omad committed Dec 6, 2024
1 parent 1ad3280 commit 56cd0b2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-python-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ inputs:
uv-version:
description: "uv version to use"
required: true
default: "0.5.2"
default: "0.5.6"

runs:
using: "composite"
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Run checks
run: make check

tests-and-type-check:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -47,6 +47,3 @@ jobs:

- name: Run tests
run: uv run pytest

- name: Check typing
run: uv run mypy
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ check: ## Run code quality tools.
@echo "🚀 Linting code: Running pre-commit"
@uv run pre-commit run -a
@echo "🚀 Static type checking: Running mypy"
@uv run mypy
@uv run mypy src/

.PHONY: test
test: ## Test the code with pytest
Expand Down
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[project]
version = "0.2.0"
version = "0.2.0.dev0"
name = "odc-loader"
description = "Tooling for constructing xarray objects from parsed metadata"
readme = "README.md"
Expand Down Expand Up @@ -45,11 +45,10 @@ build-backend = "flit_core.buildapi"
name = "odc.loader"

[tool.mypy]
python_version = "3.10"
python_version = "3.9"
ignore_missing_imports = true
allow_redefinition = true
explicit_package_bases = true # work with the 'odc' namespace package
files = ["odc"]
show_error_codes = true


[tool.isort]
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

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

0 comments on commit 56cd0b2

Please sign in to comment.