File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 4646 run : pip install black~=25.1
4747 - name : Check code formatting
4848 run : black --check .
49+
50+ lint :
51+ runs-on : ubuntu-24.04
52+ name : Run linting with ruff
53+ steps :
54+ - uses : actions/checkout@v3
55+ - name : Setup python
56+ uses : actions/setup-python@v4
57+ with :
58+ python-version : 3.12
59+ - name : Install ruff
60+ run : pip install ruff~=0.11.2
61+ - name : Run linter
62+ run : ruff check
Original file line number Diff line number Diff line change @@ -124,13 +124,7 @@ Then run the tests:
124124Coding Guidelines
125125=================
126126
127- `PEP8 <http://www.python.org/dev/peps/pep-0008/ >`__ via `flake8
128- <https://pypi.python.org/pypi/flake8> `_ with ``max-line-width `` set to 99 and
129- ``E126-E128,C901 `` ignored::
130-
131- flake8 --max-line-length=99 --ignore=E126,E127,E128,C901 RPLCD/lcd.py
132-
133- Additionally, please reformat your code using `black <https://black.readthedocs.io/ >`_::
127+ Please reformat your code using `black <https://black.readthedocs.io/ >`_::
134128
135129 black .
136130
You can’t perform that action at this time.
0 commit comments