Open gavinmacaulay opened 1 month ago
Hey @gavinmacaulay, thanks for reporting. You said:
If a .py file is in a package that has a pyproject.toml file that contains a syntax error, the linting and code style hints are not displayed in the editor. Having linting and code style hints unavailable due to an error in a sort of unrelated file is a confusing error (It took quite some effort to find).
I agree with you, so we'll try to take a look at this issue after releasing Spyder 6.0 in a few weeks.
Description
What steps will reproduce the problem?
If a .py file is in a package that has a pyproject.toml file that contains a syntax error, the linting and code style hints are not displayed in the editor.
A minimal example is a directory containing a pyproject.toml file with contents:
a test.py file with contents:
and the linting and code style options enabled.
Fixing the syntax error (a missing } for Author A) resolves the problem.
Having linting and code style hints unavailable due to an error in a sort of unrelated file is a confusing error (It took quite some effort to find).
Versions
Dependencies