Skip to content

Commit 67d845f

Browse files
committed
Update cookiecutter
1 parent 1e02d4e commit 67d845f

File tree

4 files changed

+20
-10
lines changed

4 files changed

+20
-10
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
include:
2020
- image_tag: "nightly"
2121
pulp_api_root: "/relocated/djnd/"
22-
upper_bounds: true
2322
python: "3.11"
23+
upper_bounds: true
2424
- image_tag: "latest"
2525
lower_bounds: true
2626
pulp_https: true

lint_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Lint requirements
2-
ruff==0.14.10
2+
ruff==0.14.11
33
mypy==1.19.1
44
shellcheck-py==0.11.0.1
55

pulp-glue-gem/pyproject.toml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,29 +31,38 @@ repository = "https://github.com/pulp/pulp-cli-gem"
3131
changelog = "https://github.com/pulp/pulp-cli-gem/blob/main/CHANGES.md"
3232

3333
[tool.setuptools.packages.find]
34+
# This section is managed by the cookiecutter templates.
3435
where = ["."]
3536
include = ["pulp_glue.*"]
3637
namespaces = true
3738

3839
[tool.setuptools.package-data]
39-
"*" = ["py.typed", "locale/*/LC_MESSAGES/*.mo"]
40+
# This section is managed by the cookiecutter templates.
41+
"*" = ["py.typed"]
4042

41-
[tool.black]
42-
line-length = 100
43-
44-
[tool.isort]
45-
profile = "black"
46-
line_length = 100
4743

4844
[tool.mypy]
45+
# This section is managed by the cookiecutter templates.
4946
strict = true
47+
warn_unused_ignores = false
5048
show_error_codes = true
51-
files = "pulp_glue/**/*.py"
49+
files = "pulp_glue/**/*.py, tests/**/*.py"
5250
namespace_packages = true
5351
explicit_package_bases = true
5452

5553
[[tool.mypy.overrides]]
54+
# This section is managed by the cookiecutter templates.
5655
module = [
5756
"schema.*",
5857
]
5958
ignore_missing_imports = true
59+
60+
61+
[tool.ruff]
62+
# This section is managed by the cookiecutter templates.
63+
line-length = 100
64+
65+
[tool.ruff.lint]
66+
# This section is managed by the cookiecutter templates.
67+
extend-select = ["I"]
68+

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,3 +193,4 @@ extend-exclude = ["cookiecutter"]
193193
# This section is managed by the cookiecutter templates.
194194
extend-select = ["I"]
195195

196+

0 commit comments

Comments
 (0)