This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
115 lines (106 loc) · 3.04 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[tool.poetry]
name = "fsactl"
version = "0.1.3"
description = "Install and update MSFS2020 addons"
license = "GPL-3.0+"
readme = "README.md"
repository = "https://github.com/MichaelSasser/fsactl"
homepage = "https://michaelsasser.github.io/fsactl/index.html"
documentation = "https://michaelsasser.github.io/fsactl/index.html"
keywords = ['FlightSimulator', 'FS2020', 'MSFS2020', 'Flight', 'Simulator', 'Addon', 'AddonManager']
authors = ["Michael Sasser <Michael@MichaelSasser.org>"]
# Look here for all Classifiers:
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers = [
"Development Status :: 3 - Alpha",
"Operating System :: Microsoft :: Windows",
"Operating System :: Microsoft :: Windows :: Windows 10",
"Environment :: Console",
"Environment :: Win32 (MS Windows)",
"Intended Audience :: End Users/Desktop",
"Natural Language :: English",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Topic :: Games/Entertainment",
"Topic :: Games/Entertainment :: Simulation",
"Typing :: Typed"
]
[tool.poetry.dependencies]
python = "^3.9"
semver = ">=2.13,<4.0"
PyYAML = "^6.0" # CVE-2020-1747: Version < 5.3.1
Jinja2 = "^3.1.2"
GitPython = "^3.1.31"
coloredlogs = "^15.0.1"
tabulate = "^0.9.0"
sphinx = { version = "^6.1.3", optional = true }
sphinx_rtd_theme = { version = "^1.2.0", optional = true }
sphinx-autodoc-typehints = { version = "^1.22", optional = true }
sphinxcontrib-programoutput = { version = "^0.17", optional = true }
[tool.poetry.extras]
docs = ["sphinx", "sphinx_rtd_theme", "sphinx-autodoc-typehints", "sphinxcontrib-programoutput"]
[tool.poetry.dev-dependencies]
pre-commit = "^3.3.2"
pytest = "^7.3.1"
flake8 = "^6.0.0"
neovim = "^0.3.1"
pydocstyle = "^6.3.0"
pylint = "^2.17.4"
pycodestyle = "^2.10.0"
yapf = "^0.33.0"
vulture = "^2.7"
mypy = "^1.3.0"
black = { version = "^23.3.0", allow-prereleases = true }
#black = { version = "^5.5.3", extras = ["pyproject"] }
flake8-bugbear = "^23.6.5"
[tool.poetry.scripts]
fsactl = "fsactl.app:main"
[tool.black]
line-length = 79
include = '\.pyi?$'
# exclude __init__.py because of ordered importing
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| tests/.*/setup.py
)/
'''
[tool.isort]
line_length = 79
force_single_line = true
atomic = true
float_to_top = true
include_trailing_comma = true
lines_after_imports = 2
lines_between_types = 1
multi_line_output = 3
use_parentheses = true
skip_glob = ["*/setup.py", "*.rst", "*.md", "*.yaml", "*.txt", "*.yml", "*.lock", "*.toml", "*.ini", "Makefile"]
filter_files = true
known_first_party = "fsactl"
known_third_party = [
"pytest",
# "requests",
"tabulate",
# "coloredlogs",
"sphinx_rtd_theme",
"git",
]
[tool.flake8]
max-line-length = 79
# max-complexity = 12
ignore = "E501"
select = "C,E,F,W,B,B901"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"