Spaces:
Build error
Build error
| # Pyrefly configuration for catapultSplit | |
| ###### configuring what to type check and where to import from | |
| # check all Python files under the containing directory | |
| project-includes = ["**/*.py*"] | |
| # exclude some uninteresting files | |
| project-excludes = [ | |
| "**/node_modules", | |
| "**/__pycache__", | |
| "**/.venv/**", | |
| "**/.[!/.]*/**", | |
| "**/poc/**" # Excluding POC if it's just experimental | |
| ] | |
| # perform an upward search for `.gitignore`, `.ignore`, and `.git/info/exclude`, and | |
| # add those to `project-excludes` automatically | |
| use-ignore-files = true | |
| # import project files from "." | |
| search-path = ["."] | |
| # let Pyrefly try to guess your search path | |
| disable-search-path-heuristics = false | |
| ###### configuring your python environment | |
| # assume we're running on mac (darwin) as per user environment | |
| python-platform = "darwin" | |
| # assume the Python version we're using is 3.13 | |
| python-version = "3.13" | |
| # is Pyrefly disallowed from querying for an interpreter? | |
| skip-interpreter-query = false | |
| #### configuring your type check settings | |
| # wildcards for which Pyrefly will unconditionally replace the import with `typing.Any` | |
| replace-imports-with-any = [] | |
| # wildcards for which Pyrefly will replace the import with `typing.Any` if it can't be found | |
| ignore-missing-imports = [ | |
| "google.genai.*", | |
| "langgraph.*", | |
| "pytesseract.*", | |
| "streamlit.*", | |
| "PIL.*" | |
| ] | |
| # should Pyrefly skip type checking if we find a generated file? | |
| ignore-errors-in-generated-code = true | |
| # what should Pyrefly do when it encounters a function that is untyped? | |
| untyped-def-behavior = "check-and-infer-return-type" | |
| # can Pyrefly recognize ignore directives other than `# pyrefly: ignore` and `# type: ignore` | |
| permissive-ignores = true | |
| [errors] | |
| # You can disable specific error codes here if needed, for example: | |
| # "unused-expression" = false | |