Mixed indentation in dearpygui.py (tabs + spaces)

Open
#2,543 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start by inspecting dearpygui.py in the installed Dear PyGui package and compare its indentation with the output of py -m reindent -r -v. Verify that the package contains no mixed tabs and spaces and that Wingware IDE accepts it after a fresh pip install.

Written by the indexing model from the issue text.

Description

state: pending type: bug

Version of Dear PyGui

Version: 2.1.0
Operating System: Windows 10

My Issue/Question

IDE failure due to: Mixed indentation in dearpygui.py (tabs + spaces)

Had to correct with: >py -m reindent -r -v "C:\Users...\AppData\Local\Programs\Python\Python313\Lib\site-packages\dearpygui"

To Reproduce

I am using the Wingware IDE which has very careful tab/space indentation checking. I am using Wing Personal 10.0.9.0 (rev ce06f0ac5b83)

Expected behavior

This was a new pip install to latest version, should not have this problem, but fix was easy.
Runs fine after the above fix.

Dominant language
C++
Stars
15.7k
Forks
790
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from hoffstadt/DearPyGui

All issues in hoffstadt/DearPyGui

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.