mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 18:07:17 +01:00
55cd0dcfb1
Changes: - Fix dangerous default argument {} used in posthog/urls.py - Remove unnecessary list comprehension in posthog/api/funnel.py - Remove redundant import `Funnel` in posthog/api/funnel.py - Use `in` instead of multiple comparions in posthog/api/action.py, posthog/api/event.py, and posthog/models.py Also added .deepsource.toml file to configure and run continuous static analysis with DeepSource.
27 lines
341 B
TOML
27 lines
341 B
TOML
version = 1
|
|
|
|
test_patterns = [
|
|
"**/test_*.py",
|
|
]
|
|
|
|
exclude_patterns = [
|
|
"**/migrations/*.py",
|
|
]
|
|
|
|
[[analyzers]]
|
|
name = "python"
|
|
enabled = true
|
|
|
|
[analyzers.meta]
|
|
runtime_version = "3.x.x"
|
|
|
|
[[analyzers]]
|
|
name = "docker"
|
|
enabled = true
|
|
|
|
[analyzers.meta]
|
|
dockerfile_paths = [
|
|
"preview.Dockerfile",
|
|
"production.Dockerfile",
|
|
]
|