Skip to content

Commit 71b7d5c

Browse files
authored
msc pyproject.tonl init no deps, verbose rules
1 parent 2372625 commit 71b7d5c

1 file changed

Lines changed: 58 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
[project]
2+
name = "morphological-source-code"
3+
description = "A harness (namespace and filesystem + UI) for Quineic-motility."
4+
authors = [
5+
{ name = "MOONLAPSED", email = "MOONLAPSED@gmail.com" },
6+
{ name = "PHOVOS", email = "PHOVOS@outlook.com" },
7+
{ name = "Morphological Source Code", email = "morphologi@hotmail.com" },
8+
]
9+
requires-python = ">=3.14"
10+
version = "0.5.78"
11+
12+
[project.optional-dependencies]
13+
dev = [
14+
"pre-commit",
15+
"ruff",
16+
"uv",
17+
"ty @ git+https://github.com/astral-sh/ty",
18+
]
19+
20+
[tool.ruff]
21+
line-length = 88 # `# noqa: E501` at end of the line to suppress
22+
exclude = ["build/", "dist/", ".venv/"] # despite global inclusion
23+
24+
[tool.ruff.lint]
25+
select = ["E", "F", "W", "B", "UP", "C4", "SIM", "RUF", "PLC", "PLE", "PLR", "PLW"]
26+
ignore = [
27+
"F401", "I001",
28+
"TC003", "TC004", "PLR0402", "PLC0415", "F406",
29+
"E301", "E302", "E305", "E401", "E402", "E702",
30+
] # (they are globally suppressed).
31+
# F401 # imported name never used
32+
# I001 # unsorted imports
33+
# TC003, TC004 # typing-only import rules (flake8-type-checking)
34+
# PLR0402 # use `from module import thing` instead of `import module.thing`
35+
# PLC0415 # import outside top-level (pylint-convention)
36+
# F406 # `from module import *` only allowed at module level
37+
# E301 # E302, E305 – expected blank lines (pycodestyle)
38+
# E401 # multiple imports on one line
39+
# E402 # module-level import not at top of file
40+
# E702 # multiple statements on one line (semicolon)
41+
# UP # pyupgrade – nags about old syntax (% vs f-string, typing.List, etc.)
42+
# C4 # flake8-comprehensions – suggests {...} instead of dict(...) etc.
43+
# SIM # flake8-simplify – flags needlessly verbose constructs
44+
# RUF # Ruff-specific rules (unused-noqa, sorting, etc.)
45+
# PLC # Pylint Conventions
46+
# PLE # Pylint Errors
47+
# PLR # Pylint Refactorings
48+
# PLW # Pylint Warnings
49+
50+
[tool.ruff.format]
51+
line-ending = "lf"
52+
53+
[tool.uv.workspace]
54+
members = ["packages/*"]
55+
exclude = ["packages/seeds"]
56+
57+
[tool.uv]
58+
cache-keys = [{ file = "**/*.toml" }]

0 commit comments

Comments
 (0)