Unverified Commit 9df2f1ff authored by Aaron Gokaslan's avatar Aaron Gokaslan Committed by GitHub
Browse files

maint(precommit): Apply isort (#3195)

* Apply isort

* Tweak isort config

* Add env.py as a known_first_party

* Add one missing known first party

* Make config compat with older isort versions

* Add another comment

* Revert pyproject setting
parent d6841f60
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import pytest import pytest
from pybind11_tests import sequences_and_iterators as m
from pybind11_tests import ConstructorStats from pybind11_tests import ConstructorStats
from pybind11_tests import sequences_and_iterators as m
def isclose(a, b, rel_tol=1e-05, abs_tol=0.0): def isclose(a, b, rel_tol=1e-05, abs_tol=0.0):
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import pytest import pytest
from pybind11_tests import ConstructorStats, UserType
from pybind11_tests import stl as m from pybind11_tests import stl as m
from pybind11_tests import UserType
from pybind11_tests import ConstructorStats
def test_vector(doc): def test_vector(doc):
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
import pytest import pytest
import env # noqa: F401 import env # noqa: F401
from pybind11_tests import stl_binders as m from pybind11_tests import stl_binders as m
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from __future__ import print_function, division from __future__ import division, print_function
import os import os
import sys import sys
......
...@@ -4,11 +4,9 @@ ...@@ -4,11 +4,9 @@
import re import re
import ghapi.all import ghapi.all
from rich import print from rich import print
from rich.syntax import Syntax from rich.syntax import Syntax
ENTRY = re.compile( ENTRY = re.compile(
r""" r"""
Suggested \s changelog \s entry: Suggested \s changelog \s entry:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment