Skip to content
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

⬆️ UPGRADE: Autoupdate pre-commit config #94

Open
wants to merge 29 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
a6cca1d
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Sep 4, 2023
fbc0e42
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Sep 11, 2023
ca652de
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Sep 18, 2023
937b763
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Sep 25, 2023
5234d22
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Oct 9, 2023
c4e1932
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Oct 16, 2023
902d890
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Oct 23, 2023
7cf6de6
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Oct 30, 2023
50b4d27
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Nov 13, 2023
9023a57
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Nov 20, 2023
55d6745
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Nov 27, 2023
d438e5d
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Dec 4, 2023
9c9247e
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Dec 11, 2023
95cb229
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Dec 18, 2023
1a7966c
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Dec 25, 2023
535ce1b
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Jan 8, 2024
d389a45
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Jan 29, 2024
91530b6
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Feb 19, 2024
c68e7ac
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Mar 11, 2024
6f43703
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Mar 18, 2024
6828c54
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Mar 25, 2024
5bd1da8
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Apr 8, 2024
140334f
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Apr 15, 2024
b21ed09
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Apr 29, 2024
95d8def
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand May 27, 2024
bf51244
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Jun 10, 2024
d9afeb2
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Jun 17, 2024
545975d
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Jul 1, 2024
5848489
⬆️ UPGRADE: Autoupdate pre-commit config
s-weigand Jul 8, 2024
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
22 changes: 11 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: check-ast
- id: check-builtin-literals
Expand All @@ -11,18 +11,18 @@ repos:
args: [--remove]

- repo: https://github.com/asottile/pyupgrade
rev: v3.10.1
rev: v3.16.0
hooks:
- id: pyupgrade
args: [--py36-plus]

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/python/black
rev: 23.7.0
rev: 24.4.2
hooks:
- id: black
language_version: python3
Expand All @@ -34,24 +34,24 @@ repos:
additional_dependencies: [flake8-docstrings]

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.2 # Use the sha or tag you want to point at
rev: v4.0.0-alpha.8 # Use the sha or tag you want to point at
hooks:
- id: prettier

- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.4.0
rev: v2.5.0
hooks:
- id: setup-cfg-fmt
args: ["--include-version-classifiers"]

- repo: https://github.com/pycqa/flake8
rev: 6.1.0
rev: 7.1.0
hooks:
- id: flake8
additional_dependencies: [flake8-comprehensions, flake8-2020]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.5.1
rev: v1.10.1
hooks:
- id: mypy
exclude: "^(docs|tests/dummy_packages)"
Expand All @@ -70,14 +70,14 @@ repos:
exclude: "^(docs|tests|setup.py)"

- repo: https://github.com/econchick/interrogate
rev: 1.5.0
rev: 1.7.0
hooks:
- id: interrogate
args: [-v, --config=pyproject.toml]
pass_filenames: false

- repo: https://github.com/myint/rstcheck
rev: "v6.1.2"
rev: "v6.2.4"
hooks:
- id: rstcheck
additional_dependencies: [sphinx]
Expand All @@ -96,7 +96,7 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/codespell-project/codespell
rev: v2.2.5
rev: v2.3.0
hooks:
- id: codespell
types: [file]
Expand Down
1 change: 1 addition & 0 deletions install_test_distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
The ones that could be installed via ``requirements_dev.txt`` need to be installed here
for dependabot to work properly.
"""

import subprocess
from pathlib import Path
from tempfile import TemporaryDirectory
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
keywords = verbose_version_info
project_urls =
Documentation=https://verbose-version-info.readthedocs.io
Expand Down
1 change: 1 addition & 0 deletions tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Unit test package for verbose_version_info."""

from datetime import datetime
from pathlib import Path

Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Pytest fixturesfor the testsuite."""

import os
from copy import copy
from datetime import datetime
Expand Down
1 change: 1 addition & 0 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for the CLI"""

import re
import sys

Expand Down
1 change: 1 addition & 0 deletions tests/test_verbose_version_info.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for ``verbose_version_info`` package."""

from datetime import datetime
from typing import Callable

Expand Down
1 change: 1 addition & 0 deletions verbose_version_info/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Top-level package for verbose-version-info."""

from verbose_version_info.settings import SETTINGS

__author__ = """Sebastian Weigand"""
Expand Down
1 change: 1 addition & 0 deletions verbose_version_info/data_containers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module for data container classes."""

from datetime import datetime
from typing import NamedTuple

Expand Down
1 change: 1 addition & 0 deletions verbose_version_info/settings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module containing all settings related functionalities."""

from copy import copy

DEFAULT_VCS_SETTINGS = {"warn_dirty": True}
Expand Down
1 change: 0 additions & 1 deletion verbose_version_info/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Utility modules with convenience functions."""


from datetime import datetime
from functools import lru_cache
from importlib.metadata import Distribution
Expand Down
1 change: 1 addition & 0 deletions verbose_version_info/vcs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module containing code for version control system retrieval."""

import subprocess
from datetime import datetime
from pathlib import Path
Expand Down
Loading