Skip to content

Commit 852409a

Browse files
committed
Update pre-commit, except mypy
1 parent 11197ce commit 852409a

File tree

5 files changed

+5
-8
lines changed

5 files changed

+5
-8
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22
# Syntax validation and some basic sanity checks
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.0.1
4+
rev: v4.4.0
55
hooks:
66
- id: check-merge-conflict
77
- id: check-ast
@@ -12,14 +12,14 @@ repos:
1212
- id: check-yaml
1313

1414
- repo: https://github.com/charliermarsh/ruff-pre-commit
15-
rev: v0.0.272
15+
rev: v0.0.286
1616
hooks:
1717
- id: ruff
1818
args: [--fix, --show-fixes, --exit-non-zero-on-fix]
1919

2020
# Automatic source code formatting
2121
- repo: https://github.com/psf/black
22-
rev: 22.3.0
22+
rev: 23.7.0
2323
hooks:
2424
- id: black
2525
args: [--safe, --quiet]

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@
2222
import os
2323
import sys
2424

25+
import sphinx_rtd_theme # noqa: F401 - install theme
26+
2527
sys.path.insert(0, os.path.abspath(".."))
2628

27-
import sphinx_rtd_theme # noqa; F401 - install theme
2829

2930
# -- General configuration ---------------------------------------------
3031

src/zocalo/cli/configure_rabbitmq.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,6 @@ def run():
411411
yaml_data = yaml.safe_load(in_file)
412412

413413
try:
414-
415414
if args.user_config:
416415
_configure_users(api, args.user_config)
417416

src/zocalo/service/jsonlines.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ class JSONLines(CommonService):
1818
_logger_name = "zocalo.service.jsonlines"
1919

2020
def initializing(self):
21-
2221
self._register_idle(1, self.process_messages)
2322
workflows.recipe.wrap_subscribe(
2423
self._transport,

src/zocalo/wrapper.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111

1212
class BaseWrapper:
13-
1413
_logger_name = "zocalo.wrapper" # The logger can be accessed via self.log
1514

1615
def __init__(self, *args, **kwargs):
@@ -60,7 +59,6 @@ def config(self):
6059

6160

6261
class DummyWrapper(BaseWrapper):
63-
6462
_logger_name = "zocalo.wrapper.DummyWrapper"
6563

6664
def run(self):

0 commit comments

Comments
 (0)