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

Switch to a fork of reorder-python-imports to maintain compatibility with black #167

Merged
merged 1 commit into from
Oct 1, 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
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ repos:
rev: 24.8.0
hooks:
- id: black
- repo: https://github.com/asottile/reorder-python-imports
rev: v3.13.0
- repo: https://github.com/wimglenn/reorder-python-imports-black
rev: v3.12.0
hooks:
- id: reorder-python-imports
- repo: https://github.com/asottile/blacken-docs
Expand Down
1 change: 1 addition & 0 deletions pytest_subprocess/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Main module"""

from . import exceptions
from .fake_process import FakeProcess

Expand Down
1 change: 1 addition & 0 deletions pytest_subprocess/fake_popen.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""FakePopen class declaration"""

import asyncio
import collections.abc
import io
Expand Down
1 change: 1 addition & 0 deletions pytest_subprocess/fake_process.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""FakeProcess class declaration"""

from collections import defaultdict
from collections import deque
from typing import Any as AnyType
Expand Down
1 change: 1 addition & 0 deletions pytest_subprocess/process_dispatcher.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""ProcessDispatcher class declaration"""

import asyncio
import subprocess
import sys
Expand Down
1 change: 1 addition & 0 deletions tests/example_script.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""An example script to test subprocess."""

import sys
import time

Expand Down
1 change: 1 addition & 0 deletions tests/test_typing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Additional target for mypy type checking"""

from pytest_subprocess import FakeProcess


Expand Down
Loading