Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#593)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.1.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.1.0...v5.0.0)
- [github.com/asottile/yesqa: v1.3.0 → v1.5.0](asottile/yesqa@v1.3.0...v1.5.0)
- [github.com/PyCQA/isort: 5.10.1 → 5.13.2](PyCQA/isort@5.10.1...5.13.2)
- [github.com/psf/black: 21.12b0 → 24.10.0](psf/black@21.12b0...24.10.0)
- [github.com/pre-commit/pre-commit-hooks: v4.1.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.1.0...v5.0.0)
- [github.com/asottile/pyupgrade: v2.31.0 → v3.19.1](asottile/pyupgrade@v2.31.0...v3.19.1)
- [github.com/PyCQA/flake8: 4.0.1 → 7.1.1](PyCQA/flake8@4.0.1...7.1.1)
- git://github.com/Lucas-C/pre-commit-hooks-markup → https://github.com/Lucas-C/pre-commit-hooks-markup

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Jan 2, 2025
1 parent 0f15660 commit 978e7cd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
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

0 comments on commit 978e7cd

Please sign in to comment.