-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
51 lines (43 loc) · 987 Bytes
/
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
[build-system]
requires = [
"flit_core ~= 3.9",
]
build-backend = "flit_core.buildapi"
[project]
name = "riscv-py-emu"
authors = [{name = "Dariusz D", email = "darekduda21@gmail.com"}]
description = "Simple RISC-V emulator written in Python"
requires-python = ">=3.11"
dependencies = [
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"flit==3.9.0",
"pytest==7.4.3",
"ruff==0.1.6",
]
[tool.ruff]
line-length = 88
exclude = [
".git",
".nox",
".pants.d",
".pytest_cache",
".ruff_cache",
".venv",
"dist",
"venv",
]
# TODO: Check those, once newer version will be released in NixOS
# pyflakes, flake8-bugbear, pycodestyle, isort
select = ["F", "B", "E", "W", "I"]
# Note: Ruff supports a top-level `src` option in lieu of isort's `src_paths` setting.
src = ["src", "tests"]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
pythonpath = ["src"]