Skip to content

[pre-commit.ci] pre-commit autoupdate #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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 ]
Expand 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)
Expand Down
1 change: 1 addition & 0 deletions git_commits_graph/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down