File tree Expand file tree Collapse file tree 2 files changed +2
-27
lines changed
Expand file tree Collapse file tree 2 files changed +2
-27
lines changed Original file line number Diff line number Diff line change 3030 python -m pip install -e .[dev]
3131 if : steps.cache.outputs.cache-hit != 'true'
3232
33- - name : Check formatting with black
33+ - name : Check formatting with ruff
3434 run : |
35- black --check .
36-
37- - name : Lint with flake8
38- run : |
39- flake8 posthog
40-
41- - name : Check import order with isort
42- run : |
43- isort --check-only .
35+ ruff format --check .
4436
4537 - name : Check types with mypy
4638 run : |
Original file line number Diff line number Diff line change @@ -89,27 +89,10 @@ packages = [
8989[tool .setuptools .dynamic ]
9090version = {attr = " posthog.version.VERSION" }
9191
92- [tool .black ]
93- line-length = 120
94-
95- [tool .isort ]
96- multi_line_output = 3
97- include_trailing_comma = true
98- force_grid_wrap = 8
99- ensure_newline_before_comments = true
100- line_length = 120
101- virtual_env = " env"
102-
10392[tool .pytest .ini_options ]
10493asyncio_mode = " auto"
10594asyncio_default_fixture_loop_scope = " function"
10695
107- [tool .flake8 ]
108- # ignore E501 for line length
109- # ignore W503 for line break before binary operator
110- ignore = [" E501" , " W503" ]
111- max-line-length = 120
112-
11396[dependency-groups ]
11497dev = [
11598 " ruff>=0.11.12" ,
You can’t perform that action at this time.
0 commit comments