mirror of
https://github.com/BillyOutlast/posthog.git
synced 2026-02-04 03:01:23 +01:00
chore: Make mypy stable (#29969)
This commit is contained in:
2
.github/workflows/ci-backend.yml
vendored
2
.github/workflows/ci-backend.yml
vendored
@@ -142,7 +142,7 @@ jobs:
|
||||
|
||||
- name: Check static typing
|
||||
run: |
|
||||
mypy -p posthog | mypy-baseline filter
|
||||
mypy --version && mypy -p posthog | mypy-baseline filter || echo "run 'pnpm run mypy-baseline-sync' to update the baseline"
|
||||
|
||||
- name: Check if "schema.py" is up to date
|
||||
run: |
|
||||
|
||||
1741
mypy-baseline.txt
1741
mypy-baseline.txt
File diff suppressed because it is too large
Load Diff
@@ -25,7 +25,7 @@
|
||||
"grammar:build:cpp": "cd posthog/hogql/grammar && antlr -o ../../../common/hogql_parser -Dlanguage=Cpp HogQLLexer.g4 && antlr -o ../../../common/hogql_parser -visitor -no-listener -Dlanguage=Cpp HogQLParser.g4",
|
||||
"dev:migrate:postgres": "export DEBUG=1 && source env/bin/activate && python manage.py migrate",
|
||||
"dev:migrate:clickhouse": "export DEBUG=1 && source env/bin/activate && python manage.py migrate_clickhouse",
|
||||
"mypy-baseline-sync": "mypy -p posthog | mypy-baseline sync",
|
||||
"mypy-baseline-sync": "mypy -p posthog | mypy-baseline sync && sort -o mypy-baseline.txt mypy-baseline.txt",
|
||||
"format:backend": "./bin/ruff.sh .",
|
||||
"format:frontend": "pnpm --filter=@posthog/frontend run format",
|
||||
"format": "pnpm format:backend && pnpm format:frontend",
|
||||
|
||||
Reference in New Issue
Block a user