Skip to content

Commit 6707034

Browse files
committed
Run black.
1 parent 16fc92b commit 6707034

File tree

13 files changed

+1551
-939
lines changed

13 files changed

+1551
-939
lines changed

conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ def pytest_collection_modifyitems(session, config, items):
55
# Avoid executing tests when executing `--flake8` flag (pytest-flake8)
66
try:
77
from pytest_flake8 import Flake8Item
8-
if config.getoption('--flake8'):
8+
9+
if config.getoption("--flake8"):
910
items[:] = [item for item in items if isinstance(item, Flake8Item)]
1011
except ImportError:
1112
pass

setup.py

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,29 @@
22

33

44
setup(
5-
name='w3lib',
6-
version='1.22.0',
7-
license='BSD',
8-
description='Library of web-related functions',
9-
author='Scrapy project',
10-
author_email='[email protected]',
11-
url='https://github.com/scrapy/w3lib',
12-
packages=find_packages(exclude=('tests', 'tests.*')),
5+
name="w3lib",
6+
version="1.22.0",
7+
license="BSD",
8+
description="Library of web-related functions",
9+
author="Scrapy project",
10+
author_email="[email protected]",
11+
url="https://github.com/scrapy/w3lib",
12+
packages=find_packages(exclude=("tests", "tests.*")),
1313
include_package_data=True,
1414
zip_safe=False,
15-
platforms=['Any'],
15+
platforms=["Any"],
1616
classifiers=[
17-
'Development Status :: 5 - Production/Stable',
18-
'License :: OSI Approved :: BSD License',
19-
'Operating System :: OS Independent',
20-
'Programming Language :: Python',
21-
'Programming Language :: Python :: 3',
22-
'Programming Language :: Python :: 3.6',
23-
'Programming Language :: Python :: 3.7',
24-
'Programming Language :: Python :: 3.8',
25-
'Programming Language :: Python :: 3.9',
26-
'Programming Language :: Python :: Implementation :: CPython',
27-
'Programming Language :: Python :: Implementation :: PyPy',
28-
'Topic :: Internet :: WWW/HTTP',
17+
"Development Status :: 5 - Production/Stable",
18+
"License :: OSI Approved :: BSD License",
19+
"Operating System :: OS Independent",
20+
"Programming Language :: Python",
21+
"Programming Language :: Python :: 3",
22+
"Programming Language :: Python :: 3.6",
23+
"Programming Language :: Python :: 3.7",
24+
"Programming Language :: Python :: 3.8",
25+
"Programming Language :: Python :: 3.9",
26+
"Programming Language :: Python :: Implementation :: CPython",
27+
"Programming Language :: Python :: Implementation :: PyPy",
28+
"Topic :: Internet :: WWW/HTTP",
2929
],
3030
)

tests/test_encoding.py

Lines changed: 124 additions & 96 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)