Loading .gitlab-ci.yml +2 −1 Original line number Diff line number Diff line Loading @@ -11,9 +11,10 @@ include: prod-publish-strategy: "auto" release-extra-tags: "latest \\g<major>.\\g<minor>\\g<build> \\g<major>\\g<build>" # Python template - component: "gitlab.com/$TBC_NAMESPACE/python/gitlab-ci-python@6.7" - component: "gitlab.com/$TBC_NAMESPACE/python/gitlab-ci-python@6.10" inputs: image: "registry.hub.docker.com/library/python:3.12" ruff-enabled: true package-enabled: true release-enabled: true sbom-disabled: true Loading poetry.lock +109 −382 File changed.Preview size limit exceeded, changes collapsed. Show changes pyproject.toml +17 −8 Original line number Diff line number Diff line Loading @@ -25,8 +25,7 @@ pytest = "^7.0.0" pytest-cov = "^4.0.0" pytest-env = "^0.8.0" mypy = "^1.0.0" pylint = "^2.17.5" black = "^24.1.1" ruff = "^0.4.1" [tool.pytest.ini_options] # this project uses "pytest" for unit testing Loading @@ -35,12 +34,22 @@ testpaths = [ "tests", ] [tool.black] # this project uses "Black" as code formatter # see: https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#usage line-length = 88 target-version = ['py312'] include = '\.pyi?$' [tool.ruff.lint] extend-select = ["I"] # isort [tool.ruff.format] # Like Black, use double quotes for strings. quote-style = "double" # Like Black, indent with spaces, rather than tabs. indent-style = "space" # Like Black, respect magic trailing commas. skip-magic-trailing-comma = false # Like Black, automatically detect the appropriate line ending. line-ending = "auto" [tool.mypy] # this project uses "mypy" as a static type checker Loading Loading
.gitlab-ci.yml +2 −1 Original line number Diff line number Diff line Loading @@ -11,9 +11,10 @@ include: prod-publish-strategy: "auto" release-extra-tags: "latest \\g<major>.\\g<minor>\\g<build> \\g<major>\\g<build>" # Python template - component: "gitlab.com/$TBC_NAMESPACE/python/gitlab-ci-python@6.7" - component: "gitlab.com/$TBC_NAMESPACE/python/gitlab-ci-python@6.10" inputs: image: "registry.hub.docker.com/library/python:3.12" ruff-enabled: true package-enabled: true release-enabled: true sbom-disabled: true Loading
pyproject.toml +17 −8 Original line number Diff line number Diff line Loading @@ -25,8 +25,7 @@ pytest = "^7.0.0" pytest-cov = "^4.0.0" pytest-env = "^0.8.0" mypy = "^1.0.0" pylint = "^2.17.5" black = "^24.1.1" ruff = "^0.4.1" [tool.pytest.ini_options] # this project uses "pytest" for unit testing Loading @@ -35,12 +34,22 @@ testpaths = [ "tests", ] [tool.black] # this project uses "Black" as code formatter # see: https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#usage line-length = 88 target-version = ['py312'] include = '\.pyi?$' [tool.ruff.lint] extend-select = ["I"] # isort [tool.ruff.format] # Like Black, use double quotes for strings. quote-style = "double" # Like Black, indent with spaces, rather than tabs. indent-style = "space" # Like Black, respect magic trailing commas. skip-magic-trailing-comma = false # Like Black, automatically detect the appropriate line ending. line-ending = "auto" [tool.mypy] # this project uses "mypy" as a static type checker Loading