Skip to content

Commit

Permalink
Updates and small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
audgirka committed Feb 6, 2024
1 parent 2d1aea4 commit 6e52c05
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ ensure_newline_before_comments = true
line_length = 88

[tool.mypy]
python_version = 3.10
python_version = "3.10"
strict = true
color_output = true
error_summary = true
Expand All @@ -107,7 +107,7 @@ disallow_any_generics = true
# site-packages is here to help vscode mypy integration getting confused
exclude = "(build|dist|test/local-content|site-packages|~/.pyenv|examples/playbooks/collections|plugins/modules)"
# https://github.com/python/mypy/issues/12664
no_incremental = true
incremental = false

[[tool.mypy.overrides]]
module = [
Expand Down
2 changes: 1 addition & 1 deletion test/test_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def test_spdx() -> None:
)
else:
warnings.warn(
"test_spdx failure was ignored because constraints were not pinned (PIP_CONSTRAINTS). This is expected for py39 and py-devel jobs.",
"test_spdx failure was ignored because constraints were not pinned (PIP_CONSTRAINTS). This is expected for py310 and py-devel jobs.",
category=pytest.PytestWarning,
stacklevel=1,
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ setenv =
COVERAGE_FILE = {env:COVERAGE_FILE:{toxworkdir}/.coverage.{envname}}
COVERAGE_PROCESS_START={toxinidir}/pyproject.toml
PIP_CONSTRAINT = {toxinidir}/.config/constraints.txt
devel,pkg,pre,py39: PIP_CONSTRAINT = /dev/null
devel,pkg,pre,py310: PIP_CONSTRAINT = /dev/null
PIP_DISABLE_PIP_VERSION_CHECK = 1
PRE_COMMIT_COLOR = always
FORCE_COLOR = 1
Expand Down

0 comments on commit 6e52c05

Please sign in to comment.