Skip to content

Commit 005e8b7

Browse files
ejfineclaude
andcommitted
Keep pyrefly implicit-reexport enabled for generated Python packages
Packages generated from this template are distributed libraries, so their public API should stay deliberate. The template repo's own .config/pyrefly.toml keeps the ignore, since it is not a distributed library. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 9a616fa commit 005e8b7

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎template/.config/pyrefly.toml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ ignore-errors-in-generated-code = true # not sure yet how effective this is
3333
no-access = "ignore" # (already covered by ruff SLF001)
3434
untyped-import = "ignore" # equivalent of reportMissingTypeStubs=false in pyright
3535
unannotated-return = "ignore" # ruff ANN2xx already requires this, but with suppress-none-returning so that None-returning functions don't need the noise. pyrefly has no equivalent option---the error kind is all-or-nothing.
36-
implicit-reexport = "ignore" # only matters for distributed libraries, whose public API must be deliberate; everything else is imported solely from within its own repo, where requiring __all__ or redundant aliases is pure bookkeeping
3736

3837
[[sub-config]]
3938
matches = "../**/tests/**"

0 commit comments

Comments
 (0)