From 1beb425c5059daf9589484770ee82492968a407c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Mar 2024 19:26:42 +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 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0) - [github.com/hadialqattan/pycln: v2.1.3 → v2.4.0](https://github.com/hadialqattan/pycln/compare/v2.1.3...v2.4.0) - https://github.com/sqlalchemyorg/zimports/: v0.6.0 → v0.6.1 - [github.com/psf/black: 23.3.0 → 24.3.0](https://github.com/psf/black/compare/23.3.0...24.3.0) - [github.com/asottile/pyupgrade: v3.3.1 → v3.15.2](https://github.com/asottile/pyupgrade/compare/v3.3.1...v3.15.2) - [github.com/pycqa/flake8: 5.0.4 → 7.0.0](https://github.com/pycqa/flake8/compare/5.0.4...7.0.0) --- .pre-commit-config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c5be2f7..4e4b039 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,7 @@ repos: # Ensure that all files end with a newline # Harmonize line endings - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: check-added-large-files # prevents giant files from being committed. - id: check-case-conflict # checks for files that would conflict in case-insensitive filesystems. @@ -24,7 +24,7 @@ repos: # A formatter for finding and removing unused import statements. - repo: https://github.com/hadialqattan/pycln - rev: v2.1.3 + rev: v2.4.0 hooks: - id: pycln args: [ --all ] @@ -34,27 +34,27 @@ repos: # is set to the same style that is enforced by zimports. # E.g. add `import-order-style = google` to your .flake8 file. - repo: https://github.com/sqlalchemyorg/zimports/ - rev: v0.6.0 + rev: v0.6.1 hooks: - id: zimports args: [ --style=pycharm ] # The uncompromising code formatter - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 24.3.0 hooks: - id: black # A tool to automatically upgrade syntax for newer versions of the python language. - repo: https://github.com/asottile/pyupgrade - rev: v3.3.1 + rev: v3.15.2 hooks: - id: pyupgrade args: [ --py36-plus ] # A tool to automatically fix common style issues in Python code. Has plugins. - repo: https://github.com/pycqa/flake8 - rev: '5.0.4' + rev: '7.0.0' hooks: - id: flake8 exclude: (__pycache__|.venv|tmp|.tox) From bb7ef546328b385ce15d18128b189bd4d55a41e3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Mar 2024 19:26:56 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- git_commits_graph/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/git_commits_graph/main.py b/git_commits_graph/main.py index 6e0eb7a..4e32ce0 100644 --- a/git_commits_graph/main.py +++ b/git_commits_graph/main.py @@ -11,6 +11,7 @@ from git_commits_graph.plotters import plot_total_lines_px from tqdm.auto import tqdm + @click.command() @click.argument("git_dir", required=True) @click.option("-b", "--branch", default=None, help="git repository branch to browse.")