forked from boriel-basic/zxbasic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
72 lines (60 loc) · 1.67 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
[tool.poetry]
name = "zxbasic"
version = "1.16.3"
description = "Boriel's ZX BASIC Compiler"
authors = ["Jose Rodriguez <[email protected]>"]
license = "GPL-3.0-or-later"
documentation = "https://zxbasic.readthedocs.io"
repository = "https://github.com/boriel/zxbasic"
homepage = "http://zxbasic.net"
readme = "README.md"
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Programming Language :: Python :: 3.8',
]
keywords = ['compiler', 'zxspectrum', 'BASIC', 'z80'] # arbitrary keywords
packages = [
{ include = "src/**/*" }
]
[tool.poetry.scripts]
zxb = 'src.libzxbc.zxb:main'
zxbc = 'src.libzxbc.zxb:main'
zxbasm = 'src.libzxbasm.zxbasm:main'
zxbpp = 'src.libzxbpp.zxbpp:entry_point'
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.dev-dependencies]
flake8 = "^3.8.2"
pytest = "^6.2.5"
pytest-timeout = "^1.3.4"
bump2version = "^1.0.0"
pre-commit = "^2.15.0"
black = "^22.1.0"
mkdocs = "^1.2.2"
poethepoet = "^0.15.0"
pytest-cov = "^3.0.0"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.black]
line-length = 120
target-version = ['py38']
[tool.poe.tasks]
[[tool.poe.tasks.lint]]
help = "Check code style and typing..."
shell = """
flake8 src tests &&
black --check src tests
"""
[[tool.poe.tasks.test]]
help = "Run tests"
shell = "pytest tests --color=yes"
[[tool.poe.tasks.format]]
help = "Formats code"
shell = "black src tests"
[tool.pytest.ini_options]
minversion = "6.0"
norecursedirs = ["test_*tmp", "runtime"]