diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7c9e7e5..31a06fa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,8 +19,8 @@ jobs: include: - image_tag: "nightly" pulp_api_root: "/relocated/djnd/" - upper_bounds: true python: "3.11" + upper_bounds: true - image_tag: "latest" lower_bounds: true pulp_https: true diff --git a/lint_requirements.txt b/lint_requirements.txt index c17cc78..804f227 100644 --- a/lint_requirements.txt +++ b/lint_requirements.txt @@ -1,5 +1,5 @@ # Lint requirements -ruff==0.14.10 +ruff==0.14.11 mypy==1.19.1 shellcheck-py==0.11.0.1 diff --git a/pulp-glue-gem/pyproject.toml b/pulp-glue-gem/pyproject.toml index bad9ef3..cde500c 100644 --- a/pulp-glue-gem/pyproject.toml +++ b/pulp-glue-gem/pyproject.toml @@ -31,29 +31,38 @@ repository = "https://github.com/pulp/pulp-cli-gem" changelog = "https://github.com/pulp/pulp-cli-gem/blob/main/CHANGES.md" [tool.setuptools.packages.find] +# This section is managed by the cookiecutter templates. where = ["."] include = ["pulp_glue.*"] namespaces = true [tool.setuptools.package-data] -"*" = ["py.typed", "locale/*/LC_MESSAGES/*.mo"] +# This section is managed by the cookiecutter templates. +"*" = ["py.typed"] -[tool.black] -line-length = 100 - -[tool.isort] -profile = "black" -line_length = 100 [tool.mypy] +# This section is managed by the cookiecutter templates. strict = true +warn_unused_ignores = false show_error_codes = true -files = "pulp_glue/**/*.py" +files = "pulp_glue/**/*.py, tests/**/*.py" namespace_packages = true explicit_package_bases = true [[tool.mypy.overrides]] +# This section is managed by the cookiecutter templates. module = [ "schema.*", ] ignore_missing_imports = true + + +[tool.ruff] +# This section is managed by the cookiecutter templates. +line-length = 100 + +[tool.ruff.lint] +# This section is managed by the cookiecutter templates. +extend-select = ["I"] + diff --git a/pyproject.toml b/pyproject.toml index aad4258..b4c0bdd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -193,3 +193,4 @@ extend-exclude = ["cookiecutter"] # This section is managed by the cookiecutter templates. extend-select = ["I"] +