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

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

Merged
merged 2 commits into from
Jan 2, 2025
Merged
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
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 'v4.1.0'
rev: 'v5.0.0'
hooks:
- id: check-merge-conflict
- repo: https://github.com/asottile/yesqa
rev: v1.3.0
rev: v1.5.0
hooks:
- id: yesqa
- repo: https://github.com/PyCQA/isort
rev: '5.10.1'
rev: '5.13.2'
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: '21.12b0'
rev: '24.10.0'
hooks:
- id: black
language_version: python3 # Should be a command that runs python3.6+
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 'v4.1.0'
rev: 'v5.0.0'
hooks:
- id: end-of-file-fixer
exclude: >-
Expand All @@ -44,17 +44,17 @@ repos:
args: ['--allow-missing-credentials']
- id: detect-private-key
- repo: https://github.com/asottile/pyupgrade
rev: 'v2.31.0'
rev: 'v3.19.1'
hooks:
- id: pyupgrade
args: ['--py36-plus']
- repo: https://github.com/PyCQA/flake8
rev: '4.0.1'
rev: '7.1.1'
hooks:
- id: flake8
exclude: "^docs/"

- repo: git://github.com/Lucas-C/pre-commit-hooks-markup
- repo: https://github.com/Lucas-C/pre-commit-hooks-markup
rev: v1.0.1
hooks:
- id: rst-linter
Expand Down
2 changes: 1 addition & 1 deletion aiozipkin/transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


DEFAULT_TIMEOUT = aiohttp.ClientTimeout(total=5 * 60)
BATCHES_MAX_COUNT = 10 ** 4
BATCHES_MAX_COUNT = 10**4

DataList = List[Dict[str, Any]]
SndBatches = Deque[Tuple[int, DataList]]
Expand Down
4 changes: 0 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
from setuptools import find_packages, setup # type: ignore


if sys.version_info < (3, 6, 0):
raise RuntimeError("aiozipkin does not support Python earlier than 3.6.0")


def read(f: str) -> str:
return open(os.path.join(os.path.dirname(__file__), f)).read().strip()

Expand Down
Loading