hhatto / autopep8

A tool that automatically formats Python code to conform to the PEP 8 style guide.
https://pypi.org/project/autopep8/
MIT License
4.56k stars 290 forks source link

fix: if the module is called multiple times, an error will occur #626

Closed hhatto closed 2 years ago

hhatto commented 2 years ago

Fixes #625

codecov-commenter commented 2 years ago

Codecov Report

Merging #626 (4b10944) into master (5e0d5c7) will decrease coverage by 0.11%. The diff coverage is 78.57%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #626      +/-   ##
==========================================
- Coverage   97.83%   97.72%   -0.12%     
==========================================
  Files           1        1              
  Lines        2404     2415      +11     
==========================================
+ Hits         2352     2360       +8     
- Misses         52       55       +3     
Impacted Files Coverage Δ
autopep8.py 97.72% <78.57%> (-0.12%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5e0d5c7...4b10944. Read the comment docs.