Skip to content

Commit

Permalink
[charm] Update Python to ^3.10.13 (#20)
Browse files Browse the repository at this point in the history
* [charm] Update Python to ^3.10.13

* Cleanup

* Python pin

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dragomir Penev <[email protected]>
  • Loading branch information
renovate[bot] and dragomirp authored Nov 15, 2023
1 parent e7b4965 commit 3bf0dbc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Later rules override earlier rules
{
"matchPackageNames": ["python"],
"allowedVersions": "<3.11.0"
"allowedVersions": "<3.11"
}
],
"regexManagers": [
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ target-version = ["py38"]

# Linting tools configuration
[tool.ruff]
# preview and explicit preview are enabled for CPY001
preview = true
explicit-preview-rules = true
target-version = "py38"
src = ["src", "."]
line-length = 99
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ commands_post =
[testenv:format]
description = Apply coding style standards to code
commands_pre =
poetry install --only format
poetry install --only format --no-root
commands =
poetry lock --no-update
poetry run ruff --fix {[vars]all_path}
Expand All @@ -47,7 +47,7 @@ allowlist_externals =
{[testenv]allowlist_externals}
find
commands_pre =
poetry install --only lint,format
poetry install --only lint,format --no-root
commands =
poetry check --lock
poetry run codespell {[vars]all_path}
Expand All @@ -68,7 +68,7 @@ pass_env =
allowlist_externals =
{[testenv:pack-wrapper]allowlist_externals}
commands_pre =
poetry install --only integration
poetry install --only integration --no-root
{[testenv:pack-wrapper]commands_pre}
commands =
poetry run pytest -v --tb native --log-cli-level=INFO -s --cloud={env:CLOUD} {posargs} {[vars]tests_path}/integration/test_smoke.py
Expand Down

0 comments on commit 3bf0dbc

Please sign in to comment.