-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (43 loc) · 1.1 KB
/
Copy pathpyproject.toml
File metadata and controls
49 lines (43 loc) · 1.1 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
[project]
name = "flypython"
version = "0.1.1"
description = "Community-maintained source for building reliable Python products in the AI-coding era."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
dependencies = [
"PyYAML>=6.0.2",
"requests>=2.32.3",
"urllib3>=2.3.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.3.0",
"jsonschema>=4.20.0",
"ruff>=0.9.0",
"mypy>=1.14.0",
"types-PyYAML>=6.0.12.20241230",
"types-requests>=2.32.0.20241016",
"pandas>=2.3,<2.4",
"matplotlib>=3.10,<3.11",
]
[tool.pytest.ini_options]
addopts = "-q"
testpaths = ["tests"]
pythonpath = ["."]
[tool.ruff]
target-version = "py311"
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
# Course starters are deliberately unfinished: pre-imported modules are
# scaffolding the learner will use when implementing the contract.
"courses/*/starter/*.py" = ["F401"]
[tool.mypy]
python_version = "3.11"
strict = false
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false