File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3636
3737 steps :
3838 - uses : actions/checkout@v3
39- - name : Set up Python 3.13
40- uses : actions/setup-python@v4
41- with :
42- python-version : ' 3.13'
43- cache : ' pip'
44- cache-dependency-path : ' requirements/style.txt'
45- - name : Install dependencies
46- run : python -m pip install -r requirements/style.txt
47- - name : Run style checks
48- run : |
49- python -m flake8 .
50- python -m isort --check --diff .
51- python -m black --check --diff .
39+ - name : Install ruff and apply 'ruff check'
40+ uses : astral-sh/ruff-action@v3
41+ - name : Check for formatting changes
42+ run : ruff format --check --diff
Original file line number Diff line number Diff line change @@ -20,15 +20,11 @@ dynamic = ['version']
2020[project .urls ]
2121source = ' https://github.com/mdickinson/simplefractions'
2222
23- [tool .black ]
24- target-version = [' py38' ]
25-
26- [tool .isort ]
27- profile = ' black'
28- order_by_type = ' False'
29-
3023[tool .mypy ]
3124strict = true
3225
26+ [tool .ruff .lint ]
27+ extend-select = [" I" ]
28+
3329[tool .setuptools_scm ]
3430version_scheme = ' release-branch-semver'
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments