File tree 5 files changed +231
-413
lines changed
5 files changed +231
-413
lines changed Original file line number Diff line number Diff line change 5
5
@poetry build
6
6
7
7
format :
8
- @poetry run black .
8
+ @poetry run ruff check --fix
9
+ @poetry run ruff format
9
10
10
11
lint :
11
- @poetry run pylint ./makenew_pypackage
12
- @poetry run black --check .
12
+ @poetry run ruff check
13
+ @poetry run ruff format --check
13
14
@poetry run rstcheck README.rst
14
15
15
16
test :
Original file line number Diff line number Diff line change @@ -24,8 +24,7 @@ Features
24
24
25
25
- Publishing to PyPI _.
26
26
- Secure dependency management with Poetry _.
27
- - Linting with Pylint _.
28
- - Uncompromising code formatting with Black _.
27
+ - Extremely fast Python linting and code formatting with Ruff _.
29
28
- pytest _ helps you write better programs.
30
29
- Code coverage reporting with Codecov _.
31
30
- Fully automated version management and package publishing with semantic-release __.
@@ -35,13 +34,12 @@ Features
35
34
- Badges from Shields.io _.
36
35
- Start coding instantly with `GitHub Codespaces `_.
37
36
38
- .. _Black : https://black.readthedocs.io/en/stable/
39
37
.. _Codecov : https://codecov.io/
40
38
.. _EditorConfig : https://editorconfig.org/
41
39
.. _GitHub Codespaces : https://github.com/features/codespaces
42
40
.. _Keep a CHANGELOG : https://keepachangelog.com/
43
41
.. _PyPI : https://pypi.python.org/pypi
44
- .. _ Pylint : https://www.pylint.org/
42
+ .. _ Ruff : https://github.com/astral-sh/ruff
45
43
.. _Shields.io : https://shields.io/
46
44
.. __ : https://semantic-release.gitbook.io/semantic-release/
47
45
.. __ : https://github.com/features/actions
Original file line number Diff line number Diff line change 1
- # pylint: disable=missing-docstring
2
- # pylint: disable=unused-import
3
-
4
- import pytest
5
-
6
1
from .todo import todo
7
2
8
3
You can’t perform that action at this time.
0 commit comments