Derived from the flake8-use-pathlib linter.
Fix is always available.
What it does#
pathlib.Path objects that are initialized with the current
Why is this bad?#
Path() constructor defaults to the current directory, so passing it
in explicitly (as
".") is unnecessary.