Skip to content

Commit

Permalink
Merge pull request #86 from os-climate/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
ModeSevenIndustrialSolutions authored Feb 2, 2024
2 parents cac8f40 + 84915dd commit 5b08e5d
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 11 deletions.
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

0 comments on commit 5b08e5d

Please sign in to comment.