diff -r 635b6c5a36e1 -r be9f8e7e42e0 src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py --- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py Tue Dec 06 16:57:54 2022 +0100 +++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py Tue Dec 06 17:35:41 2022 +0100 @@ -21,11 +21,11 @@ ), "P103": QCoreApplication.translate( "PathlibChecker", - "os.makedirs('foo/bar') should be replaced by " "bar_path.mkdir(parents=True)", + "os.makedirs('foo/bar') should be replaced by bar_path.mkdir(parents=True)", ), "P104": QCoreApplication.translate( "PathlibChecker", - "os.rename('foo', 'bar') should be replaced by " "foo_path.rename(Path('bar'))", + "os.rename('foo', 'bar') should be replaced by foo_path.rename(Path('bar'))", ), "P105": QCoreApplication.translate( "PathlibChecker", @@ -58,11 +58,11 @@ ), "P113": QCoreApplication.translate( "PathlibChecker", - "os.link('bar', 'foo') should be replaced by" " foo_path.hardlink_to('bar')", + "os.link('bar', 'foo') should be replaced by foo_path.hardlink_to('bar')", ), "P114": QCoreApplication.translate( "PathlibChecker", - "os.symlink('bar', 'foo') should be replaced by" " foo_path.symlink_to('bar')", + "os.symlink('bar', 'foo') should be replaced by foo_path.symlink_to('bar')", ), "P201": QCoreApplication.translate( "PathlibChecker", @@ -74,7 +74,7 @@ ), "P203": QCoreApplication.translate( "PathlibChecker", - "os.path.expanduser('~/foo') should be replaced by " "foo_path.expanduser()", + "os.path.expanduser('~/foo') should be replaced by foo_path.expanduser()", ), "P204": QCoreApplication.translate( "PathlibChecker", "os.path.isdir('foo') should be replaced by foo_path.is_dir()" @@ -93,7 +93,7 @@ ), "P208": QCoreApplication.translate( "PathlibChecker", - "os.path.join('foo', 'bar') should be replaced by " "foo_path / 'bar'", + "os.path.join('foo', 'bar') should be replaced by foo_path / 'bar'", ), "P209": QCoreApplication.translate( "PathlibChecker",