From 0b08507a816fef301e161225a2b83a2aee5a2258 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 23:33:23 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v5.0.0) - [github.com/asottile/add-trailing-comma: v2.4.0 → v3.1.0](https://github.com/asottile/add-trailing-comma/compare/v2.4.0...v3.1.0) - [github.com/asottile/pyupgrade: v3.3.1 → v3.19.0](https://github.com/asottile/pyupgrade/compare/v3.3.1...v3.19.0) - https://github.com/pre-commit/mirrors-autopep8 → https://github.com/hhatto/autopep8 - [github.com/hhatto/autopep8: v2.0.1 → v2.3.1](https://github.com/hhatto/autopep8/compare/v2.0.1...v2.3.1) - [github.com/PyCQA/flake8: 6.0.0 → 7.1.1](https://github.com/PyCQA/flake8/compare/6.0.0...7.1.1) - [github.com/psf/black: 22.12.0 → 24.10.0](https://github.com/psf/black/compare/22.12.0...24.10.0) --- .pre-commit-config.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3a3b10d..53d7882 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -9,25 +9,25 @@ repos: - id: name-tests-test - id: requirements-txt-fixer - repo: https://github.com/asottile/add-trailing-comma - rev: v2.4.0 + rev: v3.1.0 hooks: - id: add-trailing-comma args: [ --py38-plus ] - repo: https://github.com/asottile/pyupgrade - rev: v3.3.1 + rev: v3.19.0 hooks: - id: pyupgrade args: [ --py38-plus ] - - repo: https://github.com/pre-commit/mirrors-autopep8 - rev: v2.0.1 + - repo: https://github.com/hhatto/autopep8 + rev: v2.3.1 hooks: - id: autopep8 - repo: https://github.com/PyCQA/flake8 - rev: 6.0.0 + rev: 7.1.1 hooks: - id: flake8 - repo: https://github.com/psf/black - rev: 22.12.0 + rev: 24.10.0 hooks: - id: black args: # arguments to configure black From 40d585995fa0226b4d76e4448b580991bd185e01 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 23:33:31 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .gitignore | 1 - .pre-commit-config.yaml | 2 +- Dockerfile | 2 +- LICENSE | 2 +- README.md | 2 +- action.yml | 6 +++--- 6 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 2d0653a..e5c29bf 100644 --- a/.gitignore +++ b/.gitignore @@ -159,4 +159,3 @@ cython_debug/ # and can be added to the global gitignore or merged into this file. For a more nuclear # option (not recommended) you can uncomment the following to ignore the entire idea folder. .idea/ - diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 53d7882..a3ebca5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,4 +31,4 @@ repos: hooks: - id: black args: # arguments to configure black - - --line-length=120 \ No newline at end of file + - --line-length=120 diff --git a/Dockerfile b/Dockerfile index 75905b9..8a7f4c4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,4 +8,4 @@ ADD src /opt/action/src RUN pip install -U pip && pip install -r requirements.txt RUN chmod +x /opt/action/src/post.py -ENTRYPOINT ["/opt/action/src/post.py"] \ No newline at end of file +ENTRYPOINT ["/opt/action/src/post.py"] diff --git a/LICENSE b/LICENSE index 6c8584f..7b8b9f6 100644 --- a/LICENSE +++ b/LICENSE @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file +SOFTWARE. diff --git a/README.md b/README.md index 003f7f3..f28f75a 100644 --- a/README.md +++ b/README.md @@ -100,4 +100,4 @@ Suggestions and contributions are welcome. Feel free to open an issue or a pull ## License -This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details \ No newline at end of file +This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details diff --git a/action.yml b/action.yml index a544311..edf7253 100644 --- a/action.yml +++ b/action.yml @@ -10,8 +10,8 @@ inputs: default: "Hello, folks! I just posted a new blog post. Check it out!" base_blog_url: description: > - Base url of the blog post. This is used to construct the link to the blog post. For example, - if the blog post is at https://sumit4613.github.io/posts/django_middlewares/, then + Base url of the blog post. This is used to construct the link to the blog post. For example, + if the blog post is at https://sumit4613.github.io/posts/django_middlewares/, then the base-blog-url is https://sumit4613.github.io/posts/ required: true base_directory: @@ -34,4 +34,4 @@ inputs: default: "api/v1" runs: using: "docker" - image: "Dockerfile" \ No newline at end of file + image: "Dockerfile"