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

One line single char variable assignement #12

Closed
A669015 opened this issue Apr 1, 2022 · 2 comments
Closed

One line single char variable assignement #12

A669015 opened this issue Apr 1, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@A669015
Copy link

A669015 commented Apr 1, 2022

Describe the bug
When assigning several single char variables on a single line (from a tuple for example), the VNE001 error is NOT raised.

To Reproduce
Steps to reproduce the behavior:

  1. Create the following code snippet:
a, b = (1, 2)
  1. Analyze the code with flake8 and the flake8-variables-names extension
  2. No VNE001 is raised

Expected behavior
I would expect VNE001 is raised twice for the a and b variables, like it is done for the following code:

a = 1
b = 2

# VNE001 single letter variable names like 'a' are not allowed
# VNE001 single letter variable names like 'b' are not allowed

Desktop (please complete the following information):

  • OS: RHEL8.2
  • Python: 3.8
  • Versions:
    - flake8: 4.0.1
    - flake8-variables-names: 0.0.5
@A669015 A669015 added the bug Something isn't working label Apr 1, 2022
@Arondit
Copy link
Contributor

Arondit commented May 10, 2023

@A669015

Thank you very much for notifying about the bug. Also, sorry for long time no asking. We've created the task in our tracker. I don't know though, when we will be able to take it in work.

@Arondit
Copy link
Contributor

Arondit commented Jun 20, 2023

@A669015 bug is fixed in PR #15, thank you for notifying.

@Arondit Arondit closed this as completed Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants