-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathty.toml
More file actions
23 lines (19 loc) · 818 Bytes
/
Copy pathty.toml
File metadata and controls
23 lines (19 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# ty configuration
# See More: https://docs.astral.sh/ty/reference/configuration/
#
# NOTE: relative paths in this file are resolved from the project root, not
# afterpython/, e.g. use "tests/" to target the project's tests/ folder.
# The Python version is read from requires-python in pyproject.toml.
[rules]
# change a rule's severity: "error", "warn" or "ignore"
# see all rules: https://docs.astral.sh/ty/reference/rules/
# possibly-unresolved-reference = "warn"
[src]
# files and folders that are not type checked (gitignore-style patterns)
# exclude = ["tests/"]
[terminal]
# exit with an error on warnings too, not only on errors
# error-on-warning = true
[environment]
# this project has both .venv and pixi; ty would pick .venv (no pytest), so use pixi's default environment
python = ".pixi/envs/default"