Closed sphh closed 3 years ago
Hi @sphh, could you please provide the snippet of code that reproduces the duplicate linting suggestion? We could not reproduce this issue locally.
I just noticed, that not only the D101
and D102
errors are affected, but all errors:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu May 13 22:40:32 2021
"""
I also have the editor split horizontally (two editors beside each other) and the outline pane showing.
I can't reproduce this problem.
Oij, not good. Anything I could help with? Running spyder with some special command line options? Adding some print statements in strategic places?
python3 bootstrap.py
, set the linting options and guess what? No double errors.So here is how I could reproduce it:
Preferences > Completion > Code style and formatting > [x] Enable code style linting
.Now I start to see double errors.
I just noticed, that this has the Status: Awaiting Followup
tag. Which additional information do you need?
Thanks for the reminder @sphh. I was able to reproduce the error following your procedure.
We'll fix it in our next version (5.1.0), to be released at the end of July.
Thanks, @ccordoba12! Highly appreciated.
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
When I activate linting, I get a double warning regarding
D101
andD102
errors:What steps reproduce the problem?
What is the expected output? What do you see instead?
To have only one error warning in the pop-up.
Versions
Dependencies