Skip to content

Commit 92b4fae

Browse files
committed
Lint
1 parent 6548642 commit 92b4fae

File tree

6 files changed

+4
-6
lines changed

6 files changed

+4
-6
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This file is managed by 'repo_helper'. Don't edit it directly.
22
---
33

4-
exclude: ^$
4+
exclude: ^domdf_python_tools/compat/importlib_resources.py$
55

66
repos:
77
- repo: https://github.com/repo-helper/pyproject-parser

doc-source/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ default-values>=0.5.0
33
domdf-sphinx-theme>=0.3.0
44
extras-require>=0.2.0
55
html-section>=0.1.0
6+
jinja2<3.1
67
pandas>=1.1.2
78
pytest>=6.2.0
89
pytest-regressions>=2.0.2
@@ -22,4 +23,3 @@ sphinx-toolbox>=2.13.0b3
2223
sphinxcontrib-httpdomain>=1.7.0
2324
sphinxemoji>=0.1.6
2425
toctree-plus>=0.5.0
25-
jinja2<3.1

formate.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ use_parentheses = true
3232
remove_redundant_aliases = true
3333
default_section = "THIRDPARTY"
3434
known_third_party = [
35-
"backports_entry_points_selectable",
3635
"click",
3736
"coincidence",
3837
"consolekit",

repo_helper.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ python_deploy_version: 3.6
1212
requires_python: 3.6
1313
min_coverage: 95
1414
tox_testenv_extras: all
15+
pre_commit_exclude: "^domdf_python_tools/compat/importlib_resources.py$"
1516
docs_fail_on_warning: true
1617
mypy_version: 0.942
1718

tests/test_import_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def test_discover_entry_points_by_name_name_match_func(advanced_data_regression:
156156
only_pypy("Output differs on PyPy 3.8")
157157
]
158158
),
159-
pytest.param(
159+
pytest.param(
160160
3.9,
161161
marks=[
162162
only_version(3.9, reason="Output differs on Python 3.9"),

tests/test_paths_stdlib.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
import socket
1616
import stat
1717
import sys
18-
import tempfile
19-
import unittest
2018
from typing import Set
2119
from unittest import mock
2220

0 commit comments

Comments
 (0)