forked from hadialqattan/pycln
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
65 lines (57 loc) · 1.61 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[tool.poetry]
name = "pycln"
version = "1.2.4"
description = "A formatter for finding and removing unused import statements."
authors = ["Hadi Alqattan <alqattanhadizaki@gmail.com>"]
homepage = "https://hadialqattan.github.io/pycln"
repository = "https://github.com/hadialqattan/pycln"
keywords = ["formatter", "linter", "quality-assurance", "tools", "cli"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Utilities"]
license = "MIT"
readme = "README.md"
include = ["pyproject.toml"]
[tool.poetry.scripts]
pycln = "pycln.cli:app"
[tool.poetry.dependencies]
python = ">=3.6.2, <4"
typer = "^0.4.0"
toml = "^0.10.1"
dataclasses = {version = "^0.7", python = "3.6"}
libcst = "^0.3.10"
pyyaml = "^5.3.1"
pathspec = "^0.9.0"
[tool.poetry.dev-dependencies]
requests = "^2.24.0"
semver = "^2.10.2"
pytest = "^6.2"
pytest-cov = "^2.10.1"
pytest-randomly = "^3.4.1"
oschmod = "^0.3.9"
black = {version = "^21.6b0", allow-prereleases = true}
hypothesmith = "^0.2.0"
# Pre-commit hooks related config.
[tool.pycln]
all = true
[mypy]
ignore_missing_imports = true
no_strict_optional = true
[tool.isort]
line_length = 88
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
[tool.black]
line-length = 88
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"