0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-30 19:41:46 +01:00
posthog/ee
Ellie Huxtable 0257b2bcb9
chore: Use ruff formatter (#18207)
* Use ruff formatter

Ruff is now also a formatter! And it runs in a fraction of a second
across our whole codebase vs "I waited more than 30s and cancelled it
because I got bored".

* Config and command -> ruff

* Run 'ruff format .'

* Update query snapshots

* Run 'ruff format .'

* Fix format after commit hook

* Update query snapshots

* Fix type error - ignore comment moved

* Exclude hogql grammar from formatting and reverted grammar

* Run format

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tom Owers <tom@paace.co>
2023-10-31 13:41:57 +00:00
..
api chore: Use ruff formatter (#18207) 2023-10-31 13:41:57 +00:00
benchmarks chore: upgraded Ruff linter (#18188) 2023-10-26 12:38:15 +02:00
billing chore: upgraded Ruff linter (#18188) 2023-10-26 12:38:15 +02:00
bin
certs
clickhouse chore: Use ruff formatter (#18207) 2023-10-31 13:41:57 +00:00
management/commands chore: upgraded Ruff linter (#18188) 2023-10-26 12:38:15 +02:00
migrations chore: upgraded Ruff linter (#18188) 2023-10-26 12:38:15 +02:00
models chore: Use ruff formatter (#18207) 2023-10-31 13:41:57 +00:00
session_recordings chore: Use ruff formatter (#18207) 2023-10-31 13:41:57 +00:00
tasks chore: Use ruff formatter (#18207) 2023-10-31 13:41:57 +00:00
test/fixtures
__init__.py
apps.py
conftest.py
LICENSE
pytest.ini
settings.py chore: upgraded Ruff linter (#18188) 2023-10-26 12:38:15 +02:00
urls.py chore: upgraded Ruff linter (#18188) 2023-10-26 12:38:15 +02:00