-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
80 lines (74 loc) · 1.79 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
[tool.poetry]
name = "mtkcpu"
version = "0.1.1"
description = "RiscV ISA implementation in Python"
authors = [
"Mateusz Biegański <[email protected]>",
"Piotr Styczyński <[email protected]>"
]
license = "GPLv2"
[tool.poetry.dependencies]
python = "^3.8"
ppci = "^0.5.8"
numpy = "^1.19.2"
pytest = "^6.2.4"
pytest-xdist = "^2.2.1"
pyelftools = "^0.27"
bitstring = "^3.1.7"
typer = "^0.3.2"
termcolor = "^1.1.0"
amaranth = { git = "https://github.com/amaranth-lang/amaranth", rev = "a2f3c544eef8d55f29f115663eb33a467cc01178" } # v4.0
amaranth-boards = { git = "https://github.com/amaranth-lang/amaranth-boards.git", branch = "main" }
riscv-model = { git = "https://github.com/bieganski/riscv-python-model", branch = "master" }
MarkupSafe = "2.0.1"
colorlog = "^6.7.0"
[tool.poetry.dev-dependencies]
black = "^20.8b1"
flakehell = "^0.7.1"
isort = "^5.7.0"
pytest = "^6.2.1"
pytest-xdist = "^2.2.0"
rope = "^0.18.0"
[tool.black]
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
include = '\.pyi?$'
line-length = 79
[tool.flakehell]
exclude = ["README.rst", "README.md", "submodules"]
format = "colored"
max_line_length = 120
show_source = true
whitelist = "../../allowlist.txt"
extended_default_ignore=[]
[tool.flakehell.plugins]
flake8-bandit = ["+*", "-S322"]
flake8-bugbear = ["+*"]
flake8-builtins = ["+*"]
flake8-comprehensions = ["+*"]
flake8-darglint = ["+*"]
flake8-docstrings = ["+*"]
flake8-eradicate = ["+*"]
flake8-isort = ["+*"]
flake8-mutable = ["+*"]
flake8-pytest-style = ["+*"]
flake8-spellcheck = ["+*"]
mccabe = ["+*"]
pep8-naming = ["+*"]
pycodestyle = ["+*", "-E203", "-W503"]
pyflakes = ["+*", "-E203"]
pylint = ["+*", "-E203"]
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]