/
pyproject.toml
81 lines (73 loc) · 1.84 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
[tool.poetry]
name = "pyxavi"
version = "0.8.0"
description = "Set of utilities to assist on simple Python projects"
authors = ["Xavier Arnaus <xavi@arnaus.net>"]
readme = "README.md"
license = "GPLv3"
repository = "https://github.com/XaviArnaus/pyxavi"
homepage = "https://github.com/XaviArnaus/pyxavi"
include = [
"LICENSE",
"CHANGELOG.md"
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
]
[tool.poetry.dependencies]
python = "^3.9"
pyyaml = "^6.0.1"
beautifulsoup4 = "^4.11"
requests = "^2.28.0"
"Mastodon.py" = "1.8.1"
python-slugify = "^7.0.0"
validators = "^0.22.0"
feedparser = "^6.0.10"
[tool.poetry.group.dev.dependencies]
pytest = "^7.0"
yapf = "^0.32.0"
toml = "^0.10.2"
flake8 = "^4.0.1"
pytest-cov = "^3.0.0"
freezegun = "^1.2.1"
[tool.isort]
profile = "hug"
line_length = 96
force_grid_wrap = 3
[tool.pytest.ini_options]
minversion = "6.2"
addopts = "-ra -q -vvv"
markers = ["slow"]
pythonpath = [
"pyxavi"
]
log_cli = false
log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
[tool.yapf]
column_limit = 96
dedent_closing_brackets = 1
align_closing_bracket_with_visual_indent = 1
allow_split_before_dict_value = 0
blank_line_before_module_docstring = 1
each_dict_entry_on_separate_line = 1
split_all_top_level_comma_separated_values = 1
split_arguments_when_comma_terminated = 1
split_before_expression_after_opening_paren = 1
split_before_first_argument = 1
split_before_logical_operator = 0
[tool.coverage.report]
skip_empty = true
branch = true
[tool.coverage.run]
omit = [
"*/setup.py",
"*/__main__.py",
"*/__init__.py"
]
[build-system]
requires = ['poetry-core>=1.2.0']
build-backend = 'poetry.core.masonry.api'