From 34966704588ae6b6dfeac9f572e21ce5204535ed Mon Sep 17 00:00:00 2001 From: Michal Date: Wed, 15 Apr 2020 18:36:19 +0200 Subject: [PATCH] update autoflake updated --- pages.pl/common/autoflake.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pages.pl/common/autoflake.md b/pages.pl/common/autoflake.md index 29c72f44d..965bb9025 100644 --- a/pages.pl/common/autoflake.md +++ b/pages.pl/common/autoflake.md @@ -1,20 +1,20 @@ # autoflake -> A tool to remove unused imports and variables from Python code. -> More information: . +> Narzędzie do usuwania nieużywanych importów i zmiennych z kodu Python. +> Więcej informacji: . -- Remove unused variables from a single file and display the diff: +- Usuń nieużywane zmienne z jednego pliku i wyświetl różnicę: `autoflake --remove-unused-variables {{file.py}}` -- Remove unused imports from multiple files and display the diffs: +- Usuń nieużywane importy z wielu plików i wyświetl różnice: `autoflake --remove-all-unused-imports {{file1.py}} {{file2.py}} {{file3.py}}` -- Remove unused variables from a file, overwriting the file: +- Usuń nieużywane zmienne z pliku, zastępując plik: `autoflake --remove-unused-variables --in-place {{file.py}}` -- Remove unused variables recursively from all files in a directory, overwriting each file: +- Usuń nieużywane zmienne rekurencyjnie ze wszystkich plików w katalogu, nadpisując każdy plik: `autoflake --remove-unused-variables --in-place --recursive {{path/to/directory}}`