Skip to content

Commit 43939f7

Browse files
committed
Don't apply pre-commit to playground
1 parent bec9772 commit 43939f7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

data/playground/python/values.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ def my_funk(value: str = "hello", other: bool=False) -> str:
3737

3838
# we can say "change every value" to allow modifying all the values in one go
3939
def foo():
40-
pass
40+
a = 0
41+
b = 1
42+
c = 2
4143

4244
# But we don't support outside of a function yet
4345
a = 0

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
[tool.black]
22
target-version = ["py39"]
3+
force-exclude = ["vendor", "data/playground"]
34

45
[tool.ruff]
56
select = ["E", "F", "C4", "I001", "UP", "SIM"]
67
ignore = ["E501", "SIM105", "UP035"]
78
target-version = "py39"
8-
extend-exclude = ["vendor"]
9+
extend-exclude = ["vendor", "data/playground/**/*.py"]

0 commit comments

Comments
 (0)