diff --git a/.github/workflows/all-lints.yml b/.github/workflows/all-lints.yml index 1995600..d08d13c 100644 --- a/.github/workflows/all-lints.yml +++ b/.github/workflows/all-lints.yml @@ -8,7 +8,7 @@ jobs: steps: - uses: actions/checkout@v1 - - uses: weibullguy/python-lint@master + - uses: weibullguy/python-lint-plus@master with: python-root-list: "tests" use-check-manifest: false diff --git a/Dockerfile b/Dockerfile index 7aa2e54..1c97250 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Container image that runs your code -FROM weibullguy/python-lint-image:1.9.0 +FROM weibullguy/python-lint-image:1.10.0 # Copies your code file from your action repository to the filesystem path `/` of the container COPY entrypoint.sh /entrypoint.sh diff --git a/README.md b/README.md index a9d88ad..4c1a310 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ recommended that the tools you use in this action be used in-line with your editor or IDE and/or as pre-commit hooks. This action just verifies you didn't forget to do that. -However, you could choose to have fixes applies by each tool. If you do, it's +However, you could choose to have fixes applied by each tool. If you do, it's recommended that the autoformatters come first, followed by the style checking tools to verify the autoformatter results. After this, the type checkers and linters can be run. @@ -60,7 +60,7 @@ steps: - uses: actions/checkout@v2 - uses: weibullguy/python-lint-plus@master with: - python-root-list: "python_alelo tests" + python-root-list: "tests" use-black: false use-yapf: false use-isort: false diff --git a/tests/__init__.py b/tests/__init__.py index 7c8ce2b..40bde95 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1 +1 @@ -"""Tests for all style checks.""" +"""Tests package for python-lint-plus.""" diff --git a/tests/test_python_code.py b/tests/test_python_code.py index d36007e..4c191db 100644 --- a/tests/test_python_code.py +++ b/tests/test_python_code.py @@ -9,6 +9,6 @@ def get_name_len(name: str) -> int: def start(): - "Run ... " + "Run ..." print(get_name_len("Doyle")) print(uuid.uuid4().hex)