Skip to content

Commit

Permalink
switch ordering to avoid formatting files generated by setuptools_scm
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Müller <[email protected]>
marcelmbn committed Aug 11, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent fa62e49 commit a45da81
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -30,14 +30,16 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install mypy
- name: Install linter and formatter
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
pip install ruff==0.5.7
- name: Run ruff linting
run: ruff check --no-fix
- name: Run ruff format
run: ruff format --check
- name: Install project and all dev dependencies
run: pip install -e ".[dev]"
- name: Run mypy
run: mypy .
# Run unittests with tox
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ dynamic = ["version"]

[project.optional-dependencies]
dev = [
"ruff",
"ruff==0.5.7",
"mypy",
"covdefaults",
"coverage",
4 changes: 2 additions & 2 deletions src/mlmgen/__version__.py
Original file line number Diff line number Diff line change
@@ -13,5 +13,5 @@
__version_tuple__: VERSION_TUPLE
version_tuple: VERSION_TUPLE

__version__ = version = "0.1.dev5+g40508a9.d20240811"
__version_tuple__ = version_tuple = (0, 1, "dev5", "g40508a9.d20240811")
__version__ = version = "0.1.dev7+gfa62e49.d20240811"
__version_tuple__ = version_tuple = (0, 1, "dev7", "gfa62e49.d20240811")

0 comments on commit a45da81

Please sign in to comment.