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 #86

Merged
merged 4 commits into from
Feb 2, 2024
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
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ repos:

# Lint: Markdown
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.37.0
rev: v0.39.0
hooks:
- id: markdownlint
args: ['--fix']
Expand All @@ -77,12 +77,12 @@ repos:
# args: ['--py37-plus']

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.11.0
rev: 24.1.1
hooks:
- id: black

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.11.0
rev: 24.1.1
hooks:
- id: black-jupyter

Expand Down Expand Up @@ -116,7 +116,7 @@ repos:
# ]

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

Expand Down Expand Up @@ -150,7 +150,7 @@ repos:
# - id: codespell

- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.7.1'
rev: 'v1.8.0'
hooks:
- id: mypy

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -768,9 +768,11 @@ def find_kpi_with_indirect_years(self, kpispecs, bonus):
)
print_verbose(
7,
".........-> year found=" + str(kpi_year)
if kpi_year != -1
else "..........-> still nothing found. give up.",
(
".........-> year found=" + str(kpi_year)
if kpi_year != -1
else "..........-> still nothing found. give up."
),
)

anywhere_match, anywhere_match_score = kpispecs.match_anywhere_on_page(self.htmlpage, it.this_id)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1738,9 +1738,11 @@ def find_all_new_columns(tab1, tab2, tmp_rows, threshold_px):
if len(list_idx) > 1:
list_idx = sorted(
list_idx,
key=lambda id_i: tab1.items[tab1.idx[id_i[1]]].pos_y
if id_i[0] == 1
else tab2.items[tab2.idx[id_i[1]]].pos_y,
key=lambda id_i: (
tab1.items[tab1.idx[id_i[1]]].pos_y
if id_i[0] == 1
else tab2.items[tab2.idx[id_i[1]]].pos_y
),
)
for k in range(len(list_idx) - 1):
id, ix = list_idx[k]
Expand Down
1 change: 1 addition & 0 deletions data_extractor/code/s3_communication.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""S3 communication tools."""

import os
import os.path as osp
import pathlib
Expand Down
1 change: 1 addition & 0 deletions data_extractor/code/utils/s3_communication.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""S3 communication tools."""

import os
import os.path as osp
import pathlib
Expand Down
1 change: 1 addition & 0 deletions data_extractor/docs/s3_communication.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""S3 communication tools."""

import os
import os.path as osp
import pathlib
Expand Down
1 change: 1 addition & 0 deletions inception_transformer/inception_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#13 Project: INCEpTION to Pandas
This function is used for the re-collection of marked answers out of an INCEpTION export.
"""

import glob
import json
import logging
Expand Down
Loading