pyrighter 0.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,29 @@
1
+ Metadata-Version: 2.5
2
+ Name: pyrighter
3
+ Version: 0.0.1
4
+ Summary: More right than pyright. A stricter basedpyright fork that makes agents write higher-quality Python.
5
+ Project-URL: Homepage, https://github.com/forge-ci/pyrighter
6
+ License-Expression: MIT
7
+ Classifier: Development Status :: 1 - Planning
8
+ Classifier: Typing :: Typed
9
+ Requires-Python: >=3.10
10
+ Description-Content-Type: text/markdown
11
+
12
+ # pyrighter
13
+
14
+ > **More right than pyright.**
15
+
16
+ pyrighter is a stricter fork of [basedpyright](https://github.com/DetachHead/basedpyright), built so coding agents write higher-quality Python. Every rule comes from a real-world mistake we saw agents make.
17
+
18
+ This 0.0.1 release only reserves the name. Development happens at https://github.com/forge-ci/pyrighter.
19
+
20
+ ## Planned rules
21
+
22
+ - **No `sys.path` hacks.** Reject `sys.path.insert(0, ...)` / `sys.path.append(...)` for module loading. Use a real package and `uv`.
23
+ - **No dict records.** Flag dictionaries used as records; use a frozen `@dataclass`.
24
+ - **No tuple records.** Flag positional tuples used as records, such as `-> tuple[int, list[str], int]`; use a dataclass.
25
+ - **No stringly typing.** Flag `str` values compared against a fixed set of literals; use an `enum.StrEnum`.
26
+
27
+ More rules will follow.
28
+
29
+ pyrighter is not affiliated with Microsoft's pyright or the basedpyright project.
@@ -0,0 +1,18 @@
1
+ # pyrighter
2
+
3
+ > **More right than pyright.**
4
+
5
+ pyrighter is a stricter fork of [basedpyright](https://github.com/DetachHead/basedpyright), built so coding agents write higher-quality Python. Every rule comes from a real-world mistake we saw agents make.
6
+
7
+ This 0.0.1 release only reserves the name. Development happens at https://github.com/forge-ci/pyrighter.
8
+
9
+ ## Planned rules
10
+
11
+ - **No `sys.path` hacks.** Reject `sys.path.insert(0, ...)` / `sys.path.append(...)` for module loading. Use a real package and `uv`.
12
+ - **No dict records.** Flag dictionaries used as records; use a frozen `@dataclass`.
13
+ - **No tuple records.** Flag positional tuples used as records, such as `-> tuple[int, list[str], int]`; use a dataclass.
14
+ - **No stringly typing.** Flag `str` values compared against a fixed set of literals; use an `enum.StrEnum`.
15
+
16
+ More rules will follow.
17
+
18
+ pyrighter is not affiliated with Microsoft's pyright or the basedpyright project.
@@ -0,0 +1,15 @@
1
+ [project]
2
+ name = "pyrighter"
3
+ version = "0.0.1"
4
+ description = "More right than pyright. A stricter basedpyright fork that makes agents write higher-quality Python."
5
+ readme = "README.md"
6
+ requires-python = ">=3.10"
7
+ license = "MIT"
8
+ classifiers = ["Development Status :: 1 - Planning", "Typing :: Typed"]
9
+
10
+ [project.urls]
11
+ Homepage = "https://github.com/forge-ci/pyrighter"
12
+
13
+ [build-system]
14
+ requires = ["hatchling"]
15
+ build-backend = "hatchling.build"
@@ -0,0 +1,2 @@
1
+ """pyrighter: more right than pyright. Placeholder release."""
2
+ __version__ = "0.0.1"