Skip to content

Commit 49b55d8

Browse files
committed
Linting.
1 parent 1012001 commit 49b55d8

33 files changed

+210
-144
lines changed

doc-source/api/delegators.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
:mod:`domdf_python_tools.delegators`
33
=====================================
44

5-
.. automodule:: domdf_python_tools.delegators
5+
.. automodule:: domdf_python_tools.delegators

doc-source/api/pretty_print.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
:mod:`domdf_python_tools.pretty_print`
33
=======================================
44

5-
.. automodule:: domdf_python_tools.pretty_print
5+
.. automodule:: domdf_python_tools.pretty_print

tests/list_tests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313
import sys
1414
from functools import cmp_to_key
1515

16-
# this package
16+
# 3rd party
1717
import pytest
1818

19+
# this package
1920
from domdf_python_tools.testing import not_pypy
2021
from tests import seq_tests
2122
from tests.seq_tests import ALWAYS_EQ, NEVER_EQ

tests/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pandas>=1.0.0; implementation_name == "cpython" and python_version < "3.9"
55
pytest>=6.0.0
66
pytest-cov>=2.8.1
77
pytest-randomly>=3.3.1
8+
pytest-regressions>=2.0.1
89
pytest-rerunfailures>=9.0
910
pytest-timeout>=1.4.2
1011
pytz>=2019.1
11-
pytest-regressions

tests/seq_tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
import pickle
1313
import sys
1414
from itertools import chain
15-
from test import support
1615

17-
# this package
16+
# 3rd party
1817
import pytest
1918

19+
# this package
2020
from domdf_python_tools.testing import not_pypy
2121

2222

tests/test_namedlist.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@
1010

1111
# stdlib
1212
import sys
13-
14-
# this package
1513
from typing import Callable
1614

15+
# this package
1716
from domdf_python_tools.bases import NamedList, UserList, namedlist
1817
from domdf_python_tools.utils import printr, printt
1918
from tests.test_userlist import TestList

0 commit comments

Comments
 (0)