Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

import requests


FORMAT = "[%(asctime)s] - %(message)s"
logging.basicConfig(format=FORMAT)
logger = logging.getLogger("create_aws_session")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
from list_changed_common import read_test_all_the_targets
from list_changed_common import read_total_jobs


MY_MODULE = """
from ..module_utils.core import AnsibleAWSModule
from ipaddress import ipaddress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import yaml


FORMAT = "[%(asctime)s] - %(message)s"
logging.basicConfig(format=FORMAT)
logger = logging.getLogger("validate_changelog")
Expand Down
1 change: 0 additions & 1 deletion .github/actions/checkout_dependency/resolve_dependency.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

from github import Github


FORMAT = "[%(asctime)s] - %(message)s"
logging.basicConfig(format=FORMAT)
logger = logging.getLogger("resolve_dependency")
Expand Down
1 change: 0 additions & 1 deletion .github/actions/create_pullrequest/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from github import Github
from github import GithubException


FORMAT = "[%(asctime)s] - %(message)s"
logging.basicConfig(format=FORMAT)
logger = logging.getLogger(__file__)
Expand Down
1 change: 0 additions & 1 deletion .github/actions/tox/install_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
from typing import Any
from typing import Optional


FORMAT = "[%(asctime)s] - %(message)s"
logging.basicConfig(format=FORMAT)
logger = logging.getLogger("install_sibling")
Expand Down
20 changes: 10 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
rev: 7.0.0
hooks:
- id: isort
args: ["--filter-files"]
Expand All @@ -14,18 +14,18 @@ repos:
- prettier
- prettier-plugin-toml

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

- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
rev: v1.5.6
hooks:
- id: remove-tabs

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: check-merge-conflict
Expand All @@ -35,12 +35,12 @@ repos:
- id: debug-statements

- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
rev: v2.4.1
hooks:
- id: codespell

- repo: https://github.com/pycqa/flake8
rev: 7.1.0
rev: 7.3.0
hooks:
- id: flake8
additional_dependencies:
Expand All @@ -51,13 +51,13 @@ repos:

- repo: https://github.com/asottile/pyupgrade
# keep it after flake8
rev: v3.16.0
rev: v3.21.2
hooks:
- id: pyupgrade
args: ["--py39-plus"]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
rev: v1.19.1
hooks:
- id: mypy
additional_dependencies:
Expand All @@ -67,7 +67,7 @@ repos:
- types-requests

- repo: https://github.com/pycqa/pylint
rev: v3.2.3
rev: v4.0.4
hooks:
- id: pylint
additional_dependencies:
Expand Down
1 change: 0 additions & 1 deletion scripts/create_github_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

from github import Github


FORMAT = "[%(asctime)s] - %(message)s"
logging.basicConfig(format=FORMAT)
logger = logging.getLogger(__file__)
Expand Down
1 change: 0 additions & 1 deletion scripts/update_aws_boto_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from functools import partial
from pathlib import PosixPath


FORMAT = "[%(asctime)s] - %(message)s"
logging.basicConfig(format=FORMAT)
logger = logging.getLogger("update_aws_user_agent")
Expand Down
1 change: 0 additions & 1 deletion scripts/update_aws_user_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import yaml


FORMAT = "[%(asctime)s] - %(message)s"
logging.basicConfig(format=FORMAT)
logger = logging.getLogger("update_aws_user_agent")
Expand Down