forked from Vaelor/python-mattermost-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
88 lines (80 loc) · 1.96 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[tool.poetry]
name = "scrapermost"
version = "8.0.0"
description = "A Python library to use Mattermost APIv4."
authors = [
"Christian Plümer <github@kuuku.net>",
"mboivin <mboivin@student.42.fr>"
]
license = "MIT"
readme = "README.md"
repository = "https://github.com/matboivin/scrapermost"
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'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',
]
[tool.poetry.dependencies]
python = "^3.10"
aiohttp = "^3.8.4"
httpx = "^0.23.3"
[tool.poetry.dev-dependencies]
mdformat-gfm = "^0.3.5"
pdoc = "^13.1.0"
pre-commit = "^3.1.1"
pycodestyle = "^2.10.0"
pylint = "^2.16.4"
[tool.black]
target-version = ["py310"]
line-length = 79
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
profile = "black"
ensure_newline_before_comments = true
force_grid_wrap = 0
include_trailing_comma = true
line_length = 79
multi_line_output = 3
use_parentheses = true
[tool.mypy]
allow_untyped_decorators = true
allow_subclassing_any = true
explicit_package_bases = true
implicit_reexport = true
ignore_missing_imports = true
namespace_packages = true
show_error_codes = true
strict = true
[tool.pylint]
disable = [
"C0103", "E0401", "R0902", "R0903", "W0104", "W0702", "W1203", "W1514"
]
# C0103: Invalid %s name "%s"
# E0401: Unable to import module -> false positive
# R0902: Too many instance attributes
# R0903: Too few public methods
# W1203: false positive
# W1514: Using open without explicitly specifying an encoding
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"