8000 add isort and black config from upstream · pythonthings/pyppeteer@2c72b82 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2c72b82

Browse files
committed
add isort and black config from upstream
1 parent 20a40eb commit 2c72b82

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

pyproject.toml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pyppeteer"
3-
version = "0.2.4"
3+
version = "0.2.2"
44
description = "Headless chrome/chromium automation library (unofficial port of puppeteer)"
55
readme = 'README.md'
66
license = "MIT"
@@ -10,7 +10,7 @@ keywords=['pyppeteer', 'puppeteer', 'chrome', 'chromium']
1010
authors = [
1111
"granitosaurus <bernardas.alisauskas@pm.me>",
1212
"Hiroyuki Takagi <miyako.dev@gmail.com>",
13-
"Mattwmaster58 <mattwmaster58@gmail.com>"
13+
"Mattwmaster58 <mattwmaster58@gmail.com>",
1414
"pyppeteer <pyppeteer@protonmail.com>",
1515
]
1616
classifiers = [
@@ -31,7 +31,6 @@ include = [
3131
"README.md",
3232
"LICENSE",
3333
"CHANGES.md",
34-
"Makefile",
3534
]
3635
exclude = [
3736
'*/__pycache__',
@@ -57,7 +56,8 @@ doit = "^0.32.0"
5756
flake8 = "^3.7.9"
5857
livereload = "^2.6.1"
5958
m2r = "^0.2.1"
60-
mypy = "^0.761"
59+
mypy = "^0.770"
60+
pre-commit = "^2.2.0"
6161
pydocstyle = "^5.0.2"
6262
pylint = "^2.4.4"
6363
pytest = "^5.3.5"
@@ -72,3 +72,16 @@ tox = "^3.14.3"
7272
[build-system]
7373
requires = ["poetry>=0.12"]
7474
build-backend = "poetry.masonry.api"
75+
76+
[tool.black]
77+
line-length = 120
78+
target-version = ['py36', 'py37', 'py38']
79+
skip-string-normalization = true
80+
81+
[tool.isort]
82+
line_length = 120
83+
multi_line_output = 3
84+
include_trailing_comma = true
85+
force_grid_wrap = 0
86+
use_parentheses = true
87+
known_third_party = ["PIL", "aiohttp", "appdirs", "certifi", "diff_match_patch", "livereload", "networkx", "ordered_set", "pixelmatch", "pyee", "pyppeteer", "pytest", "syncer", "tests", "tqdm", "urllib3", "websockets"]

0 commit comments

Comments
 (0)
0