SoftwareUnderstanding / inspect4py

Static code analysis package for Python repositories
https://inspect4py.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
27 stars 10 forks source link

IndexError #415

Closed OEG-Clark closed 1 year ago

OEG-Clark commented 1 year ago

Index Error In Testing Should Be: cs_string = cs[1].strip().replace('\'', '').split('["')[1]

dgarijo commented 1 year ago

Thanks. Can you please indicate which repo leads to an error, and which error it produces?

El jue., 23 feb. 2023 1:25 p. m., Clark Wang @.***> escribió:

https://github.com/SoftwareUnderstanding/inspect4py/blob/9da8fe5779436fc54556956243dce31692678ee8/inspect4py/parse_setup_files.py#L59

Should Be: cs_string = cs[1].strip().replace(''', '').split('["')[1]

— Reply to this email directly, view it on GitHub https://github.com/SoftwareUnderstanding/inspect4py/issues/415, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALTIGT3HXUP3YMAKSMJF4LWY5JNDANCNFSM6AAAAAAVFSDDGM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

OEG-Clark commented 1 year ago

The Error happened in testing in the repo of Somef

dgarijo commented 1 year ago

Fixed now in your PR