Skip to content

Commit 462529d

Browse files
committed
ci(Makefile): fix ruff check commands to target relevant files
1 parent 9d09a03 commit 462529d

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎CONTRIBUTING.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ The documentation style used in the project is **ReStructuredText**. Please, if
3131
Before creating your pull request, when you have made all your commits, you need to run this:
3232
```shell
3333
# Run linters (maybe you will have to fix some issues)
34-
uvx ruff@0.14.5 check .
34+
uvx ruff@0.14.5 check language_tool_python tests
3535

3636
# Format code
37-
uvx ruff@0.14.5 format .
37+
uvx ruff@0.14.5 format language_tool_python tests
3838

3939
# Check types
4040
uvx mypy@1.18.2

‎Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ default:
55
@exit 1
66

77
check:
8-
uvx ruff@0.14.5 check .
9-
uvx ruff@0.14.5 format --check .
8+
uvx ruff@0.14.5 check language_tool_python tests
9+
uvx ruff@0.14.5 format --check language_tool_python tests
1010
uvx mypy@1.18.2
1111

1212
test:

‎make.bat‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ echo Usage: make.bat [check^|test^|doc^|publish]
99
exit /b 1
1010

1111
:check
12-
uvx ruff@0.14.5 check .
12+
uvx ruff@0.14.5 check language_tool_python tests
1313
if errorlevel 1 exit /b %errorlevel%
1414

15-
uvx ruff@0.14.5 format --check .
15+
uvx ruff@0.14.5 format --check language_tool_python tests
1616
if errorlevel 1 exit /b %errorlevel%
1717

1818
uvx mypy@1.18.2

0 commit comments

Comments
 (0)