Skip to content

Commit aae83cd

Browse files
committed
Lint fixes
1 parent 12e5baf commit aae83cd

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

‎pyproject.toml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ warn_unused_configs = true
8787

8888
[tool.poetry]
8989
include = [
90-
{path = "src/datacustomcode/templates/**/*"},
91-
{path = "src/datacustomcode/config.yaml"}
90+
{ path = "src/datacustomcode/templates/**/*" },
91+
{ path = "src/datacustomcode/config.yaml" }
9292
]
93-
packages = [{include = "datacustomcode", from = "src"}]
93+
packages = [{ include = "datacustomcode", from = "src" }]
9494
version = "0.0.0"
9595

9696
[tool.poetry.build]
@@ -115,7 +115,7 @@ coverage = ">=7.0.0,<8.0.0"
115115
ipykernel = "^6.29.5"
116116
mypy = "*"
117117
pipreqs = "*"
118-
poetry-dynamic-versioning = {extras = ["plugin"], version = "^1.8.2"}
118+
poetry-dynamic-versioning = { extras = ["plugin"], version = "^1.8.2" }
119119
pre-commit = "*"
120120
pytest = "*"
121121
pytest-cov = "*"
@@ -127,7 +127,7 @@ types-requests = "*"
127127
[tool.poetry.plugins."poetry.plugin"]
128128

129129
[tool.poetry.requires-plugins]
130-
poetry-dynamic-versioning = {version = ">=1.0.0,<2.0.0", extras = ["plugin"]}
130+
poetry-dynamic-versioning = { version = ">=1.0.0,<2.0.0", extras = ["plugin"] }
131131

132132
[tool.poetry.scripts]
133133
datacustomcode = "datacustomcode.cli:cli"
@@ -152,7 +152,6 @@ testpaths = ["tests"]
152152
[tool.ruff]
153153
fix = true
154154
line-length = 88
155-
target-version = 'py310'
156155
lint.ignore = [
157156
# do not assign a lambda expression, use a def
158157
'E731',
@@ -211,6 +210,7 @@ lint.select = [
211210
'RUF',
212211
'S102'
213212
]
213+
target-version = 'py310'
214214

215215
[tool.setuptools.package_data]
216216
datacustomcode = ["templates/**/*", "config.yaml"]

‎tests/spark/test_column_hints_deferred.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ def _run(script: str) -> None:
3838
[sys.executable, "-c", textwrap.dedent(script)],
3939
capture_output=True,
4040
text=True,
41-
timeout=60, check=False,
41+
timeout=60,
42+
check=False,
4243
)
4344
if result.returncode != 0:
4445
pytest.fail(

0 commit comments

Comments
 (0)