You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dd58397
Browse filesBrowse the repository at this point in the historyBrowse files
Copier update: Pyrefly implicit reexport for non libraries (#112)
Pull in upstream template changes
Do _not_ let the suppression of that rule cascade into the pyrefly
config for the actual library repo itself
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Chores**
* Updated development tools and generated project templates to use newer
supported versions.
* Raised minimum supported versions for several project dependencies.
* Adjusted type-checking settings: existing projects now allow implicit
public re-exports, while newly generated projects require them to be
explicitly declared.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .config/pyrefly.toml
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ ignore-errors-in-generated-code = true # not sure yet how effective this is
33
33
no-access = "ignore"# (already covered by ruff SLF001)
34
34
untyped-import = "ignore"# equivalent of reportMissingTypeStubs=false in pyright
35
35
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
Copy file name to clipboardExpand all lines: .devcontainer/devcontainer.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@
30
30
// Python
31
31
"-ms-python.vscode-pylance", // pyrefly is the language server for this project; ms-python.python auto-installs Pylance via its extension pack, and Pylance then warns on every boot that it's disabled
Copy file name to clipboardExpand all lines: template/.config/pyrefly.toml
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ ignore-errors-in-generated-code = true # not sure yet how effective this is
33
33
no-access = "ignore"# (already covered by ruff SLF001)
34
34
untyped-import = "ignore"# equivalent of reportMissingTypeStubs=false in pyright
35
35
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 = "error"# intentionally diverges from the upstream template's "ignore": this repo is for distributed libraries, whose public API must be deliberate (via __all__ or redundant aliases)
Copy file name to clipboardExpand all lines: template/.devcontainer/devcontainer.json.jinja
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@
42
42
// Python
43
43
"-ms-python.vscode-pylance", // pyrefly is the language server for this project; ms-python.python auto-installs Pylance via its extension pack, and Pylance then warns on every boot that it's disabled
0 commit comments