diff --git a/.github/flake8-matcher.json b/.github/flake8-matcher.json deleted file mode 100644 index 8b173c2b591..00000000000 --- a/.github/flake8-matcher.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "problemMatcher": [ - { - "owner": "flake8-error", - "severity": "error", - "pattern": [ - { - "regexp": "^([^:]*):(\\d+):(\\d+): ([EFT]\\d\\d\\d) (.*)$", - "file": 1, - "line": 2, - "column": 3, - "code": 4, - "message": 5 - } - ] - }, - { - "owner": "flake8-warning", - "severity": "warning", - "pattern": [ - { - "regexp": "^([^:]*):(\\d+):(\\d+): ((?:B|SIM|DUO|S)\\d\\d\\d) (.*)$", - "file": 1, - "line": 2, - "column": 3, - "code": 4, - "message": 5 - } - ] - } - ] -} diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 28845d1e04b..0a49578f8d1 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -10,6 +10,11 @@ permissions: # contents permission to update benchmark contents in gh-pages branch contents: write +env: + ERT_SHOW_BACKTRACE: 1 + ECL_SKIP_SIGNAL: 1 + UV_SYSTEM_PYTHON: 1 + jobs: benchmark: name: Run pytest-benchmark benchmark example @@ -27,13 +32,13 @@ jobs: with: # pin this to maintain comparable benchmark results python-version: "3.10" - cache: "pip" - cache-dependency-path: | - pyproject.toml + + - name: Install uv + run: pip install uv - name: Install ert with dev-deps run: | - pip install ".[dev]" + uv pip install ".[dev]" - name: Run benchmark run: | diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index bfd26c58d5e..217c9404f9b 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -156,4 +156,4 @@ jobs: find artifacts -name "*.whl" -exec mv '{}' dist/ \; - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@v1.8.11 + uses: pypa/gh-action-pypi-publish@v1.10.1 diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index a4091c173c3..c99f0ef3708 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -39,9 +39,6 @@ jobs: run: | uv pip install ".[style]" - - name: Add matching rule - run: echo ::add-matcher::.github/flake8-matcher.json - - name: Run style check if: ${{ always() }} run: | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1081e39d0fc..494f1a3b809 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,7 @@ repos: exclude: test-data/eclipse/parse/ERROR.PRT # exact format is needed for testing - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.1 + rev: v0.6.5 hooks: - id: ruff args: [ --fix ]