We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67fa5fd commit cfd1f68Copy full SHA for cfd1f68
.pre-commit-config.yaml
@@ -43,6 +43,11 @@ repos:
43
types: [python]
44
stages: [pre-push]
45
46
+ - repo: https://github.com/Flagsmith/flagsmith-common
47
+ rev: feat/lint-tests-ft-rules
48
+ hooks:
49
+ - id: flagsmith-lint-tests
50
+
51
- repo: https://github.com/python-poetry/poetry
52
rev: 2.3.2
53
hooks:
api/tests/unit/core/test_unit_core_example.py
@@ -0,0 +1,5 @@
1
+"""Example test that violates flagsmith-lint-tests rules."""
2
3
4
+def test_example_bad_naming() -> None:
5
+ assert 1 + 1 == 2
0 commit comments