0xRar / VT-CLI

A virustotal command line script to scan/analyze suspicious files and url's.
11 stars 2 forks source link

Python 3.12 compatibility error "SyntaxWarning: invalid escape sequence '\ ' #5

Open averyfreeman opened 1 month ago

averyfreeman commented 1 month ago

Hi, nice project, I'm on Ubuntu 24.04 which uses python v3.12, and there's a new SyntaxWarning detailed here on stack overflow

I used rye to set the version to 3.11, and sure enough, no warnings. Thought you might want to check it out for future-proofing (it's probably a simple find+replace for \ to \) - if they're in docstrings, I saw you can put an r before your triple-quotes.

0xRar commented 1 month ago

Hi @averyfreeman, Thank you for taking interest in the project.

I will check your issues when im fully set-up, still don't have all of my tools installed since im working from a brand new machine.