Skip to content

Commit

Permalink
Use -p argument for pyright custom config file path
Browse files Browse the repository at this point in the history
Fixes #1946
  • Loading branch information
nvuillam committed Oct 8, 2022
1 parent ad3781e commit f724af6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions megalinter/descriptors/python.megalinter-descriptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ linters:
linter_rules_inline_disable_url: https://github.com/microsoft/pyright/blob/main/docs/comments.md#file-level-type-controls
cli_lint_mode: list_of_files
config_file_name: pyrightconfig.json
cli_config_arg_name: -p
cli_lint_errors_count: regex_sum
cli_lint_errors_regex: "([0-9]+) errors,"
test_folder: python_mypy
Expand Down

0 comments on commit f724af6

Please sign in to comment.