-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
60 lines (54 loc) · 1.7 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
[tool.poetry]
authors = ["David Cooper <david@dtcooper.com>"]
description = "Libraty providing a buffer interface to your Raspberry Pi's GPU layer. Usable with pygame, PIL and other graphics libraries."
homepage = "https://github.com/dtcooper/python-dispmanx"
include = ["LICENSE"]
license = "MIT"
name = "dispmanx"
readme = "README.md"
repository = "https://github.com/dtcooper/python-dispmanx"
# Make sure version is updated in dispmanx/__init__.py as well
version = "0.1.0"
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
"Topic :: Multimedia :: Graphics",
"Topic :: Software Development :: Libraries :: pygame",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.poetry.dependencies]
python = "^3.9"
numpy = {version = "<2", optional = true}
[tool.poetry.dev-dependencies]
black = "^22.6.0"
flake8 = "^5.0.4"
isort = "^5.10.1"
mkdocs = "^1.3.1"
mkdocs-autorefs = "^0.4.1"
mkdocs-material = "^8.3.9"
mkdocstrings = {extras = ["python"], version = "^0.19.0"}
mypy = "^0.971"
Pillow = "^9.2.0"
pycairo = "^1.21.0"
pygame = "^2.1.2"
[tool.poetry.extras]
numpy = ["numpy"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
target-version = ['py310']
preview = true
[tool.isort]
multi_line_output = 3
lines_after_imports = 2
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 120
force_sort_within_sections = true
sections = ['FUTURE', 'STDLIB', 'THIRDPARTY', 'GRAPHICSTHIRDPARTY', 'FIRSTPARTY', 'LOCALFOLDER']
known_graphicsthirdparty = ['pygame', 'PIL']