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

chore: pre-commit autoupdate #1132

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ repos:
- id: check-added-large-files
- repo: https://github.com/astral-sh/ruff-pre-commit
# keep in sync with tox.ini
rev: 'v0.9.0'
rev: 'v0.9.9'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/psf/black
rev: 24.10.0
rev: 25.1.0
hooks:
- id: black
exclude: |
Expand Down
3 changes: 1 addition & 2 deletions iscript/tests/test_mac.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python
# coding=utf-8
"""Test iscript.mac
"""
"""Test iscript.mac"""
import asyncio
import os
import plistlib
Expand Down
3 changes: 1 addition & 2 deletions iscript/tests/test_macvpn.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python
# coding=utf-8
"""Test iscript.mac
"""
"""Test iscript.mac"""
import os
import plistlib
import pytest
Expand Down
3 changes: 1 addition & 2 deletions iscript/tests/test_script.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python
# coding=utf-8
"""Test iscript.script
"""
"""Test iscript.script"""
import os

import pytest
Expand Down
3 changes: 1 addition & 2 deletions iscript/tests/test_util.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python
# coding=utf-8
"""Test iscript.util
"""
"""Test iscript.util"""
from copy import deepcopy

import pytest
Expand Down
3 changes: 1 addition & 2 deletions notarization_poller/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python
# coding=utf-8
"""Test base files
"""
"""Test base files"""
import arrow


Expand Down
3 changes: 1 addition & 2 deletions notarization_poller/tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python
# coding=utf-8
"""Test notarization_poller.config
"""
"""Test notarization_poller.config"""
import json
import os
from copy import deepcopy
Expand Down
3 changes: 1 addition & 2 deletions notarization_poller/tests/test_config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python
# coding=utf-8
"""Test notarization_poller.config
"""
"""Test notarization_poller.config"""
import json
import logging
import os
Expand Down
3 changes: 1 addition & 2 deletions notarization_poller/tests/test_constants.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python
# coding=utf-8
"""Test notarization_poller.constants
"""
"""Test notarization_poller.constants"""
from immutabledict import immutabledict

import notarization_poller.constants as constants
Expand Down
3 changes: 1 addition & 2 deletions notarization_poller/tests/test_task.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python
# coding=utf-8
"""Test notarization_poller.task
"""
"""Test notarization_poller.task"""
import asyncio
import logging
from contextlib import asynccontextmanager
Expand Down
3 changes: 1 addition & 2 deletions notarization_poller/tests/test_worker.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python
# coding=utf-8
"""Test notarization_poller.worker
"""
"""Test notarization_poller.worker"""
import asyncio
import json
import os
Expand Down
3 changes: 1 addition & 2 deletions scriptworker_client/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python
# coding=utf-8
"""Test base files
"""
"""Test base files"""


def touch(path):
Expand Down
3 changes: 1 addition & 2 deletions scriptworker_client/tests/test_aio.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python
# coding=utf-8
"""Test scriptworker_client.aio
"""
"""Test scriptworker_client.aio"""
import asyncio
import os
import re
Expand Down
3 changes: 1 addition & 2 deletions scriptworker_client/tests/test_client.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python
# coding=utf-8
"""Test scriptworker_client.client
"""
"""Test scriptworker_client.client"""
import json
import logging
import os
Expand Down
3 changes: 1 addition & 2 deletions scriptworker_client/tests/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python
# coding=utf-8
"""Test scriptworker_client.utils
"""
"""Test scriptworker_client.utils"""
import asyncio
import os
import re
Expand Down