Skip to content

Commit e7e6229

Browse files
CI: Bump pre-commit hooks
1 parent 6acefdc commit e7e6229

File tree

5 files changed

+13
-12
lines changed

5 files changed

+13
-12
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changes here will be overwritten by Copier
22

3-
_commit: 0.1.34
3+
_commit: 0.1.35
44
_src_path: [email protected]:neuromath/python-template.git
55
author_email: [email protected]
66
author_name: bbp-ou-cells

.flake8

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
[flake8]
22
ignore =
3-
E203, # E203: whitespace before ':'
4-
W503 # W503: line break before binary operator
3+
# E203: whitespace before ':'
4+
E203,
5+
# W503: line break before binary operator
6+
W503
57
max-line-length = 100

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ default_language_version:
22
python: python3.8
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.3.0
5+
rev: v4.4.0
66
hooks:
77
- id: check-added-large-files
88
- id: check-case-conflict
@@ -13,18 +13,18 @@ repos:
1313
- id: end-of-file-fixer
1414
- id: trailing-whitespace
1515
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
16-
rev: v9.1.0
16+
rev: v9.4.0
1717
hooks:
1818
- id: commitlint
1919
stages:
2020
- commit-msg
2121
additional_dependencies: ['conventional-changelog-conventionalcommits']
2222
- repo: https://github.com/pycqa/isort
23-
rev: 5.10.1
23+
rev: 5.12.0
2424
hooks:
2525
- id: isort
2626
- repo: https://github.com/psf/black
27-
rev: 22.10.0
27+
rev: 23.1.0
2828
hooks:
2929
- id: black
3030
- repo: https://github.com/codespell-project/codespell
@@ -33,11 +33,11 @@ repos:
3333
- id: codespell
3434
args: ["-x", ".codespellignorelines"]
3535
- repo: https://github.com/PyCQA/pydocstyle
36-
rev: 6.1.1
36+
rev: 6.3.0
3737
hooks:
3838
- id: pydocstyle
39-
additional_dependencies: ["toml"]
39+
additional_dependencies: ["tomli"]
4040
- repo: https://github.com/PyCQA/flake8
41-
rev: 5.0.4
41+
rev: 6.0.0
4242
hooks:
4343
- id: flake8

bluepyparallel/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def write(self, row_id, result=None, exception=None, **input_values):
133133
else:
134134
return
135135

136-
query = insert(self.table).values(dict(**{self.index_col: row_id}, **vals, **input_values))
136+
query = insert(self.table).values({**{self.index_col: row_id}, **vals, **input_values})
137137
self.connection.execute(query)
138138
self.connection.connection.commit()
139139

bluepyparallel/evaluator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ def _evaluate_dataframe(
8181
def _evaluate_basic(
8282
to_evaluate, input_cols, evaluation_function, func_args, func_kwargs, mapper, task_ids, db
8383
):
84-
8584
res = []
8685
# Setup the function to apply to the data
8786
eval_func = partial(

0 commit comments

Comments
 (0)