-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (73 loc) · 1.71 KB
/
Copy pathpyproject.toml
File metadata and controls
83 lines (73 loc) · 1.71 KB
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
[project]
name = "pyth-on-line"
version = "0"
requires-python = ">=3.13"
dependencies = [
"ruff~=0.14.0",
"webtypy~=0.1.7",
"micropip~=0.11.0",
"pyodide-py==0.29.0",
"promplate-pyodide~=0.0.4.0",
"prek~=0.2.19",
"pure-eval~=0.2.3",
"html2text2~=1.1.1",
"pytest~=9.0.0",
"pytest-asyncio~=1.3.0",
"hmr",
"numpy~=2.2",
"pandas~=2.2",
"trio~=0.32.0",
]
[tool.pdm]
distribution = false
[tool.pdm.scripts]
post_install = "prek install"
fmt = { composite = ["ruff check --fix --show-fixes -e", "ruff format"] }
[tool.black]
line-length = 200
[tool.isort]
line_length = 200
known_first_party = ["__main__"]
[tool.ruff]
line-length = 200
[tool.ruff.lint]
extend-select = [
"I", # isort
"N", # pep8-naming
"W", # pycodestyle
"UP", # pyupgrade
"TRY", # tryceratops
"RUF", # ruff
"FURB", # refurb
"C4", # flake8-comprehensions
"ARG", # flake8-unused-arguments
"PIE", # flake8-pie
"PTH", # flake8-use-pathlib
"RSE", # flake8-raise
"SIM", # flake8-simplify
"SLF", # flake8-self
]
ignore = [
# Failed to parse pyproject.toml: missing field `name`
"RUF200",
# Module level import not at top of file
"E402",
"F402",
# `... import *` used; unable to detect undefined names
"F403",
# `await` statement outside of a function
"F704",
]
[tool.pyright]
typeCheckingMode = "standard"
reportMissingModuleSource = false
reportWildcardImportFromLibrary = false
reportUnnecessaryTypeIgnoreComment = true
[tool.pytest]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "session"
filterwarnings = ["error"]
[tool.uv.sources]
hmr = { workspace = true }
[tool.uv.workspace]
members = ["packages/*"]