Skip to content

Commit

Permalink
🔖 release: v1.5.2 and format code
Browse files Browse the repository at this point in the history
  • Loading branch information
SigureMo committed Aug 17, 2024
1 parent 62cba9c commit 369a38f
Show file tree
Hide file tree
Showing 17 changed files with 7 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-and-fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
- name: format check
run: |
just fmt
just fmt-check
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ cmakelint can also be run with [pre-commit](https://pre-commit.com). Add the fol

```yaml
- repo: https://github.com/PFCCLab/cmake-lint-paddle
rev: v1.5.1
rev: v1.5.2
hooks:
- id: cmakelint
```
Expand Down
3 changes: 3 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,6 @@ fmt:
ci-test:
uv run pytest
just clean

fmt-check:
uv run ruff format --check --diff .
1 change: 0 additions & 1 deletion src/cmakelint/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
the License.
"""


from __future__ import annotations

from . import cli as cli
Expand Down
3 changes: 1 addition & 2 deletions src/cmakelint/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
the License.
"""


from __future__ import annotations

VERSION = "1.5.1"
VERSION = "1.5.2"
1 change: 0 additions & 1 deletion src/cmakelint/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
the License.
"""


from __future__ import annotations

import argparse
Expand Down
1 change: 0 additions & 1 deletion src/cmakelint/error_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
the License.
"""


from __future__ import annotations

ERROR_CODE_FOUND_ISSUE = 1
Expand Down
1 change: 0 additions & 1 deletion src/cmakelint/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
the License.
"""


from __future__ import annotations

ERROR_CATEGORIES = """\
Expand Down
1 change: 0 additions & 1 deletion tests/test_cli/test_blender.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
the License.
"""


from __future__ import annotations

from .utils import run_command
Expand Down
1 change: 0 additions & 1 deletion tests/test_cli/test_llvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
the License.
"""


from __future__ import annotations

from .utils import run_command
Expand Down
1 change: 0 additions & 1 deletion tests/test_cli/test_opencv.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
the License.
"""


from __future__ import annotations

from .utils import run_command
Expand Down
1 change: 0 additions & 1 deletion tests/test_cli/test_simple_cmakelists_txt.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
the License.
"""


from __future__ import annotations

from ..conftest import TEST_DIR
Expand Down
1 change: 0 additions & 1 deletion tests/test_cli/test_usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
the License.
"""


from __future__ import annotations

from cmakelint.error_code import ERROR_CODE_WRONG_USAGE
Expand Down
1 change: 0 additions & 1 deletion tests/test_cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
the License.
"""


from __future__ import annotations

import subprocess
Expand Down
1 change: 0 additions & 1 deletion tests/test_cmakelint/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
the License.
"""


from __future__ import annotations

import os
Expand Down
1 change: 0 additions & 1 deletion tests/test_cmakelint/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
the License.
"""


from __future__ import annotations

import contextlib
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 369a38f

Please sign in to comment.