-
Notifications
You must be signed in to change notification settings - Fork 1
More kiota support #103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More kiota support #103
Changes from all commits
816edb3
8a290ca
44a4d2a
5da2ff7
21618d8
d31d554
79d26fa
758c04a
e630d1d
42d207b
99d3a08
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,7 +11,7 @@ | |
| "**/__pycache__", | ||
| "**/vendor_files", | ||
| "**/graphql_codegen", | ||
| "**/openapi_codegen", | ||
| "**/generated/open_api", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chainVerify path pattern consistency across configuration files. The glob pattern here uses Ensure the naming convention is consistent, or if both Run the following script to check if both naming conventions exist in the codebase: 🏁 Script executed: #!/bin/bash
# Description: Check for both generated/open_api and generated/open-api paths
# Search for directories matching either pattern
fd -t d -g "**/generated/open_api"
fd -t d -g "**/generated/open-api"Length of output: 0 🏁 Script executed: #!/bin/bash
# Description: Inspect actual config files and check for generated directories
echo "=== pyrightconfig.json ==="
cat pyrightconfig.json
echo -e "\n=== .pre-commit-config.yaml (search for generated pattern) ==="
grep -n "generated" .pre-commit-config.yaml || echo "No matches"
echo -e "\n=== Search for any generated directories ==="
fd -t d "generated" || echo "No generated directories found"
echo -e "\n=== Search for open_api or open-api anywhere ==="
rg -i "open.?api" --type-list | head -5
rg -i "open.?api" -l || echo "No matches"Length of output: 5243 🌐 Web query: 💡 Result: Summary: pyrightconfig.json exclude entries use filesystem glob patterns (wildcards) similar to gitignore-style/glob syntax: * matches any characters except '/', ** matches zero-or-more path components (recursive), ? matches one character, character classes ([a-z]) work, and patterns are anchored to the config-file/project root unless you prefix with **/. Exclude entries override include; Pyright auto-excludes common folders (node_modules, pycache, venv, .git) by default. See Pyright docs/examples and config discussion for details. [1][2][3] Quick examples
Sources
Update glob pattern to match both The pattern 🤖 Prompt for AI Agents |
||
| "**/.venv", | ||
| "**/venv" | ||
| ], | ||
|
|
@@ -99,7 +99,6 @@ | |
| "reportUnnecessaryTypeIgnoreComment": true, | ||
| "reportMatchNotExhaustive": true, | ||
| "reportImplicitOverride": true, | ||
| "reportShadowedImports": true, | ||
| "pythonPlatform": "Linux", | ||
| "executionEnvironments": [ | ||
| { | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The regex pattern
.*/generated/open[-_]api/.*allows both hyphen and underscore variants (open-apiandopen_api). This flexibility could lead to inconsistent directory naming across projects. Consider documenting which variant should be used as the standard, or enforce a single pattern to maintain consistency.