Skip to content

Commit eaf4fa7

Browse files
pauldambraoliverb123
authored andcommitted
fix
1 parent 97bfefd commit eaf4fa7

File tree

2 files changed

+2
-27
lines changed

2 files changed

+2
-27
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,9 @@ jobs:
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: |

pyproject.toml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -89,27 +89,10 @@ packages = [
8989
[tool.setuptools.dynamic]
9090
version = {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]
10493
asyncio_mode = "auto"
10594
asyncio_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]
11497
dev = [
11598
"ruff>=0.11.12",

0 commit comments

Comments
 (0)