databrickslabs / pylint-plugin

Databricks Plugin for PyLint
https://pypi.org/project/databricks-labs-pylint/
Other
11 stars 3 forks source link

Prevent implicit string concatenation #43

Open nfx opened 6 months ago

nfx commented 6 months ago

Strings like 'foo ' 'bar' resolve to 'foo bar', but are very confusing to read:

'The use of default dbfs: references is deprecated: ' '/mnt/things/e/f/g',
nfx commented 1 month ago

apparently p = astroid.parse('x = "foo bar" " baz"') collapses into a single str const