Skip to content

Commit 43cae8f

Browse files
authored
Merge pull request #979 from NASA-IMPACT/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 4eb0b6d + bccdaec commit 43cae8f

File tree

9 files changed

+14
-6
lines changed

9 files changed

+14
-6
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,37 @@ default_stages: [commit]
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v4.4.0
6+
rev: v4.6.0
77
hooks:
88
- id: trailing-whitespace
99
- id: end-of-file-fixer
1010
- id: check-yaml
1111

1212
- repo: https://github.com/asottile/pyupgrade
13-
rev: v3.3.1
13+
rev: v3.17.0
1414
hooks:
1515
- id: pyupgrade
1616
args: [--py310-plus]
1717

1818
- repo: https://github.com/psf/black
19-
rev: 23.1.0
19+
rev: 24.8.0
2020
hooks:
2121
- id: black
2222

2323
- repo: https://github.com/PyCQA/isort
24-
rev: 5.12.0
24+
rev: 5.13.2
2525
hooks:
2626
- id: isort
2727

2828
- repo: https://github.com/PyCQA/flake8
29-
rev: 6.0.0
29+
rev: 7.1.1
3030
hooks:
3131
- id: flake8
3232
args: ["--config=setup.cfg"]
3333
additional_dependencies: [flake8-isort]
3434

3535
- repo: https://github.com/pre-commit/mirrors-mypy
36-
rev: v1.4.0
36+
rev: v1.11.2
3737
hooks:
3838
- id: mypy
3939
args: ["--strict"]

config/wsgi.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
framework.
1414
1515
"""
16+
1617
import os
1718
import sys
1819
from pathlib import Path

config_generation/delete_config_folders.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- commands
66
- jobs
77
"""
8+
89
import glob
910
import os
1011
import shutil

config_generation/generate_collection_list.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- filter anything that isn't a webcrawler
55
- provide a variable, turned_on_remaining_webcrawlers for import by other files
66
"""
7+
78
import os
89

910
from db_to_xml import XmlEditor

config_generation/generate_commands.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
sometimes spot fixes need to be run on a list of collections
33
this file provides a quick framework to generate a batch of commands based on an input json
44
"""
5+
56
from db_to_xml_file_based import XmlEditor
67
from generate_jobs import ParallelJobCreator
78

document_classifier/async_scraper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Asynchronously scrapes the HTML content of a given URL using a headless browser."""
2+
23
import asyncio
34
import re
45

document_classifier/encoder.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
""" Encoding the url response """
2+
23
import pandas as pd
34

45

document_classifier/load_dataset.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
""" Module for loading dataset """
2+
23
from torch.utils.data import DataLoader, SequentialSampler, TensorDataset
34

45

sde_indexing_helper/users/tests/test_forms.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Module for all Form Tests.
33
"""
4+
45
from django.utils.translation import gettext_lazy as _
56

67
from sde_indexing_helper.users.forms import UserAdminCreationForm

0 commit comments

Comments
 (0)