Skip to content

Commit

Permalink
Adjust configuration of ruff + gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
KarelZe committed Oct 29, 2023
1 parent 748a2dc commit 9d3afaa
Show file tree
Hide file tree
Showing 25 changed files with 10,917 additions and 7,450 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/action_python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'poetry'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install .[dev]
poetry install
- name: Test with pytest
run: |
pytest --cov=src tests/ --doctest-modules --junitxml=cover/xunit-result.xml --cov-report xml:cover/coverage.xml
Expand Down
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ repos:
rev: 0.6.1
hooks:
- id: nbstripout
- repo: https://github.com/cmhughes/latexindent.pl.git
rev: V3.19.1
hooks:
- id: latexindent
# - repo: https://github.com/cmhughes/latexindent.pl.git
# rev: V3.19.1
# hooks:
# - id: latexindent
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: check-added-large-files
Expand All @@ -26,7 +26,7 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.991
rev: v1.6.1
hooks:
- id: mypy
# yaml requires additional stubs.
Expand Down
6,910 changes: 3,455 additions & 3,455 deletions notebooks/3.0a-mb-explanatory-data-analysis.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 9d3afaa

Please sign in to comment.