Julian Bez
c66f9e41bb
chore: Re-enable Django model order lint rule ( #24525 )
2024-08-22 17:14:26 +02:00
Julian Bez
34d0da70d9
chore(deps): Upgrade mypy, stubs, and ruff ( #24500 )
...
Also remove type annotations for Django fields, due to updates to the
stubs and possibly to mypy they are actively unhelpful now.
2024-08-22 09:42:25 +00:00
Julian Bez
59276433ae
chore(deps): Add ruff rule django-unordered-body-content-in-model ( #23628 )
2024-07-12 13:44:14 +01:00
Sandy Spicer
eac199d24a
chore: upgrade python to 3.11 ( #23206 )
2024-06-27 14:16:27 -07:00
Julian Bez
6c95fd18ba
chore(ruff): Add ruff rules for exception handling ( #23251 )
2024-06-27 12:39:21 +01:00
Sandy Spicer
6c23c9bd89
revert: "chore: upgrade python to 3.11 🐍 " ( #23198 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-24 11:50:48 -07:00
Julian Bez
5617963e7a
chore: Update pyproject.toml for Python 3.11 ( #23181 )
2024-06-24 15:42:47 +01:00
Julian Bez
9576fab1e4
chore: Add Pyupgrade rules ( #21714 )
...
* Add Pyupgrade rules
* Set correct Python version
2024-04-25 08:22:28 +01:00
Julian Bez
a0fc086175
chore(deps): Upgrade ruff ( #21648 )
2024-04-19 14:19:10 +02:00
Julian Bez
487ca39064
chore: Enable more ruff rules ( #21043 )
2024-04-08 16:21:51 +01:00
Thomas Obermüller
2ade0951de
refactor(style): do not use star imports for locals ( #20915 )
2024-03-14 13:55:52 +01:00
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
Tomás Farías Santana
ebe7388c70
feat: Implement encryption codec for Temporal ( #15566 )
...
Co-authored-by: Harry Waye <harry@posthog.com>
2023-06-08 10:57:04 +01:00
James Greenhill
9a2a087a9c
feat: Migrate flake8 -> ruff ( #14838 )
...
* feat: Migrate flake8 -> ruff
* move the exclude to configs instead of CI
2023-03-20 23:00:54 -06:00
Michael Matloka
5d2ad6c7bb
chore(deps): Update black
to 22.8.0
( #11596 )
...
* chore(deps): Update `black` to `22.8.0`
* Format
2022-09-05 14:38:54 +02:00
Paolo D'Amico
066721e3c1
Stability & dev experience improvements ( #2152 )
2020-11-02 14:55:20 +00:00