So the code did have type hints, just not consistently. Sounds like bad code.
So the code did have type hints, just not consistently. Sounds like bad code.
You, god, pretty much any Formatter and ide. Black Formatter: “All leading tabs are converted to spaces, but tabs inside text are preserved.” Vscode has a command to convert between the two, and non-leading tabs are a simple replace/regex away from being converted. If you mean unorthodox spacing, if you have code with like 7 leading spaces, then that’s a matter for a priest.
So… The proper way is… Global installs? What are you saying here?
Just use poetry or something, install the environment in your project directory and you’re done. The versions of your dependencies are fixed, so are consistent across installs, and because it’s sandbox you aren’t polluting your system, and vice versa.
And if you’re using a language that installs the dependencies localy, guess what? That’s what you’re already doing, only with less security.