Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 14, 2023
1 parent 267c6d0 commit ce898d6
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
16 changes: 8 additions & 8 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"recommendations": [
"ms-python.black-formatter",
"ms-python.pylint",
"charliermarsh.ruff",
"matangover.mypy",
"esbenp.prettier-vscode"
]
}
"recommendations": [
"ms-python.black-formatter",
"ms-python.pylint",
"charliermarsh.ruff",
"matangover.mypy",
"esbenp.prettier-vscode"
]
}
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
"mypy.targets": ["src", "tests"],
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
}
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@ homepage = "https://github.com/ansible-community/ansible-cdk"
repository = "https://github.com/ansible-community/ansible-cdk"

[tool.mypy]
strict = true
files = ["src", "tests"]

strict = true

[tool.pydoclint]
allow-init-docstring = true
Expand Down
3 changes: 1 addition & 2 deletions src/ansible_cdk/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

"""A runpy entry point for ansible-cdk.
This makes it possible to invoke CLI
Expand All @@ -9,4 +8,4 @@


if __name__ == "__main__":
main()
main()
6 changes: 4 additions & 2 deletions tests/integration/test_basic.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
"""Basic smoke tests."""

from ansible_cdk.version_builder import PKGS
import pytest
import subprocess
import sys

import pytest

from ansible_cdk.version_builder import PKGS


@pytest.mark.parametrize("package", PKGS)
def test_version(package: str) -> None:
Expand Down

0 comments on commit ce898d6

Please sign in to comment.