Skip to content
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

Use -p argument for pyright custom config file path #1948

Merged
merged 5 commits into from
Oct 8, 2022
Merged

Conversation

nvuillam
Copy link
Member

@nvuillam nvuillam commented Oct 8, 2022

Fixes #1946

@nvuillam
Copy link
Member Author

nvuillam commented Oct 8, 2022

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
✅ BASH bash-exec 7 0 0.01s
✅ BASH shellcheck 7 0 0.25s
✅ BASH shfmt 7 0 0 0.3s
✅ COPYPASTE jscpd yes no 1.81s
✅ DOCKERFILE hadolint 105 0 7.53s
✅ JSON eslint-plugin-jsonc 21 0 0 2.04s
✅ JSON jsonlint 19 0 0.24s
✅ JSON v8r 21 0 15.4s
⚠️ MARKDOWN markdownlint 294 0 5 5.15s
✅ MARKDOWN markdown-link-check 294 0 4.75s
✅ MARKDOWN markdown-table-formatter 294 0 0 7.24s
✅ OPENAPI spectral 1 0 0.81s
⚠️ PYTHON bandit 170 55 2.55s
✅ PYTHON black 170 0 0 3.85s
✅ PYTHON flake8 170 0 2.22s
✅ PYTHON isort 170 0 0 0.65s
✅ PYTHON mypy 170 0 7.22s
✅ PYTHON pylint 170 0 11.28s
⚠️ PYTHON pyright 170 274 15.67s
✅ REPOSITORY checkov yes no 25.74s
✅ REPOSITORY git_diff yes no 0.28s
✅ REPOSITORY secretlint yes no 8.04s
✅ REPOSITORY trivy yes no 20.39s
✅ SPELL cspell 706 0 16.99s
✅ SPELL misspell 533 0 0 0.76s
✅ XML xmllint 3 0 0.01s
✅ YAML prettier 80 0 0 2.71s
✅ YAML v8r 22 0 40.39s
✅ YAML yamllint 81 0 1.21s

See errors details in artifact MegaLinter reports on CI Job page

MegaLinter is graciously provided by OX Security

@nvuillam
Copy link
Member Author

nvuillam commented Oct 8, 2022

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
✅ BASH bash-exec 7 0 0.08s
✅ BASH shellcheck 7 0 0.61s
✅ BASH shfmt 7 0 0 0.04s
✅ COPYPASTE jscpd yes no 2.58s
✅ DOCKERFILE hadolint 105 0 8.09s
✅ JSON eslint-plugin-jsonc 21 0 0 2.09s
✅ JSON jsonlint 19 0 0.25s
✅ JSON v8r 21 0 16.87s
⚠️ MARKDOWN markdownlint 294 2 5 6.22s
✅ MARKDOWN markdown-link-check 294 0 6.06s
✅ MARKDOWN markdown-table-formatter 294 2 0 7.59s
✅ OPENAPI spectral 1 0 0.85s
⚠️ PYTHON bandit 170 55 3.69s
✅ PYTHON black 170 0 0 3.96s
✅ PYTHON flake8 170 0 2.53s
✅ PYTHON isort 170 0 0 0.48s
✅ PYTHON mypy 170 0 8.44s
✅ PYTHON pylint 170 0 13.32s
⚠️ PYTHON pyright 170 272 20.46s
✅ REPOSITORY checkov yes no 31.88s
⚠️ REPOSITORY devskim yes 59 1.59s
✅ REPOSITORY dustilock yes no 1.64s
✅ REPOSITORY git_diff yes no 0.04s
✅ REPOSITORY secretlint yes no 5.03s
✅ REPOSITORY syft yes no 2.32s
✅ REPOSITORY trivy yes no 20.98s
✅ SPELL cspell 706 0 20.16s
✅ SPELL misspell 533 2 0 0.59s
✅ XML xmllint 3 0 0.0s
✅ YAML prettier 80 0 0 3.06s
✅ YAML v8r 22 0 46.71s
✅ YAML yamllint 81 0 1.57s

See errors details in artifact MegaLinter reports on CI Job page

You could have the same capabilities but better runtime performances if you use a MegaLinter flavor:

MegaLinter is graciously provided by OX Security

@nvuillam nvuillam merged commit 029f1c4 into main Oct 8, 2022
@nvuillam nvuillam deleted the fixes/pyright branch October 8, 2022 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pyright reports an error when PYTHON_PYRIGHT_CONFIG_FILE is set
1 participant