question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Check Project" Only Scans One File

See original GitHub issue

Step 1: Are you in the right place?

  • I have verified there are no duplicate active or recent bugs, questions, or requests
  • I have verified that I am using the latest version of the plugin.

Step 2: Describe your environment

  • Plugin version: 0.7.0
  • PyCharm/IDEA version: PyCharm 2018.2.2
  • Mypy version: mypy 0.620

Step 3: Describe the problem:

Steps to reproduce:

  1. Click “Check Project”

Observed Results:

  • The scan runs, but only one file - which happens to be the first python file in the project’s first module - is scanned.
  • Clicking “Check Current File” results in the currently active python file (which is not the same file as that which is scanned when clicking “Check Project”) being scanned as expected.

Expected Results:

  • I expected that the scan would run against all python files - recursively - in all modules underneath the project root, as defined in PyCharm’s Project Structure settings

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
leinardicommented, Sep 3, 2018

Yeah, it is the current behavior of mypy, some specific error just breaks the validation of all the other files.

I have created an issue on their tracker: https://github.com/python/mypy/issues/5564

Blocked by python/mypy#5564

0reactions
stale[bot]commented, Nov 2, 2018

This issue has been automatically marked as stale because it has not had activity in the last 60 days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Scan List/Actions - Checkmarx Knowledge Center - Confluence
Incremental scan is used to increase the scanning speed of the project. It works by scanning only the code that has changed since...
Read more >
Psalm scans the whole project dir even if we specify some files
Currently, it seems that if you have a projectDir config in your xml config, and if you want to run psalm only on...
Read more >
The Digitization Project: Just Scan Everything?
For processes that need continuous access to paper files, a temporary file can be created for paper documents that are created during the ......
Read more >
Pull Request analysis seems to scanning all files - SonarCloud
We have a large Vue JS project and we have enabled Pull Request analysis using SonarCloud. Should the PR analysis scan only the...
Read more >
Coverity for node js is scanning only one file instead of all files ...
There are a number of components that are set to ignore in analysis. It looks like only files in the src, test and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found