Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Remove unused imports #3005

Merged
merged 1 commit into from
Jul 30, 2023
Merged

chore: Remove unused imports #3005

merged 1 commit into from
Jul 30, 2023

Conversation

TheEvilSkeleton
Copy link
Contributor

@TheEvilSkeleton TheEvilSkeleton commented Jul 29, 2023

Trying out https://unimport.hakancelik.dev

Description

Please include a summary of the change and which issue is fixed (if available).
Please also include relevant motivation and context.

Fixes #(issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Improvements

How Has This Been Tested?

Please describe the tests that you ran to verify your changes.
Provide instructions so we can reproduce.

  • Locally

@github-actions
Copy link
Contributor

Pylint result on modfied files:
************* Module bottles.backend.cabextract
bottles/backend/cabextract.py:109:15: W0718: Catching too general exception Exception (broad-exception-caught)
bottles/backend/cabextract.py:73:20: W0105: String statement has no effect (pointless-string-statement)
bottles/backend/cabextract.py:88:20: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
bottles/backend/cabextract.py:105:16: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
bottles/backend/cabextract.py:29:0: R0903: Too few public methods (1/2) (too-few-public-methods)
************* Module bottles.backend.managers.runtime
bottles/backend/managers/runtime.py:50:0: C0303: Trailing whitespace (trailing-whitespace)
bottles/backend/managers/runtime.py:54:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/managers/runtime.py:46:16: C0103: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/managers/runtime.py:54:8: C0103: Variable name "ld" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/managers/runtime.py:65:16: C0103: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/managers/runtime.py:76:16: C0103: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/managers/runtime.py:85:16: C0103: Variable name "e" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/managers/runtime.py:96:20: C0103: Variable name "d" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/managers/runtime.py:95:16: W0612: Unused variable 'root' (unused-variable)
bottles/backend/managers/runtime.py:95:28: W0612: Unused variable 'files' (unused-variable)
bottles/backend/managers/runtime.py:128:8: C0415: Import outside toplevel (bottles.backend.managers.steam.SteamManager) (import-outside-toplevel)
************* Module bottles.backend.managers.steamgriddb
bottles/backend/managers/steamgriddb.py:30:0: C0303: Trailing whitespace (trailing-whitespace)
bottles/backend/managers/steamgriddb.py:37:0: C0303: Trailing whitespace (trailing-whitespace)
bottles/backend/managers/steamgriddb.py:46:0: C0303: Trailing whitespace (trailing-whitespace)
bottles/backend/managers/steamgriddb.py:34:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/managers/steamgriddb.py:58:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/managers/steamgriddb.py:35:8: W0702: No exception type(s) specified (bare-except)
bottles/backend/managers/steamgriddb.py:34:18: W3101: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout)
bottles/backend/managers/steamgriddb.py:32:4: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
bottles/backend/managers/steamgriddb.py:55:15: W0718: Catching too general exception Exception (broad-exception-caught)
bottles/backend/managers/steamgriddb.py:52:12: C0103: Variable name "r" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/managers/steamgriddb.py:52:16: W3101: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout)
bottles/backend/managers/steamgriddb.py:53:37: C0103: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/managers/steamgriddb.py:42:4: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
bottles/backend/managers/steamgriddb.py:29:0: R0903: Too few public methods (1/2) (too-few-public-methods)
************* Module bottles.backend.managers.importer
bottles/backend/managers/importer.py:106:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/managers/importer.py:106:8: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
bottles/backend/managers/importer.py:106:8: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
bottles/backend/managers/importer.py:110:8: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
bottles/backend/managers/importer.py:21:0: C0411: standard import "import subprocess" should be placed before "from bottles.backend.models.config import BottleConfig" (wrong-import-order)
bottles/backend/managers/importer.py:22:0: C0411: standard import "from glob import glob" should be placed before "from bottles.backend.models.config import BottleConfig" (wrong-import-order)
bottles/backend/managers/importer.py:23:0: C0411: standard import "from datetime import datetime" should be placed before "from bottles.backend.models.config import BottleConfig" (wrong-import-order)
************* Module bottles.backend.dlls.dll
bottles/backend/dlls/dll.py:161:61: W0511: TODO: should not be ok but just ignore it for now (fixme)
bottles/backend/dlls/dll.py:86:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/dlls/dll.py:86:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/dlls/dll.py:116:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/dlls/dll.py:116:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/dlls/dll.py:141:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/dlls/dll.py:55:8: C0206: Consider iterating with .items() (consider-using-dict-items)
bottles/backend/dlls/dll.py:48:4: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
bottles/backend/dlls/dll.py:113:8: C0206: Consider iterating with .items() (consider-using-dict-items)
bottles/backend/dlls/dll.py:163:16: W0105: String statement has no effect (pointless-string-statement)
bottles/backend/dlls/dll.py:176:12: W0105: String statement has no effect (pointless-string-statement)
bottles/backend/dlls/dll.py:140:4: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
************* Module bottles.backend.utils.steam
bottles/backend/utils/steam.py:41:30: C0103: Argument name "fp" doesn't conform to snake_case naming style (invalid-name)
************* Module bottles.backend.utils.vdf
bottles/backend/utils/vdf.py:25:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:26:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:46:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:46:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:47:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:47:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:48:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:48:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:49:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:49:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:50:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:50:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:51:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:51:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:52:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:52:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:53:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:53:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:54:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:54:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:55:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:55:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:90:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:92:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:113:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:117:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:122:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:126:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:131:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:143:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:152:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:184:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:193:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:205:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:228:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:230:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:232:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:243:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:245:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:247:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:249:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:256:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:257:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:270:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:281:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:325:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:342:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:344:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:361:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:426:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:429:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:432:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:451:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:453:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:472:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:502:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:518:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:523:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/utils/vdf.py:35:0: C0103: Class name "string_type" doesn't conform to PascalCase naming style (invalid-name)
bottles/backend/utils/vdf.py:36:0: C0103: Class name "int_type" doesn't conform to PascalCase naming style (invalid-name)
bottles/backend/utils/vdf.py:61:21: C0103: Argument name "m" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/utils/vdf.py:65:23: C0103: Argument name "m" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/utils/vdf.py:78:10: C0103: Argument name "fp" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/utils/vdf.py:143:20: W0707: Consider explicitly re-raising using 'except StopIteration as exc' and 'raise SyntaxError('vdf.parse: unexpected EOF (open key quote?)', (getattr(fp, 'name', '<%s>' % fp.__class__.__name__), lineno, 0, line)) from exc' (raise-missing-from)
bottles/backend/utils/vdf.py:184:24: W0707: Consider explicitly re-raising using 'except StopIteration as exc' and 'raise SyntaxError('vdf.parse: unexpected EOF (open quote for value?)', (getattr(fp, 'name', '<%s>' % fp.__class__.__name__), lineno, 0, line)) from exc' (raise-missing-from)
bottles/backend/utils/vdf.py:199:10: C0103: Argument name "s" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/utils/vdf.py:208:8: C0103: Variable name "fp" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/utils/vdf.py:210:8: C0103: Variable name "fp" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/utils/vdf.py:210:13: E0602: Undefined variable 'strIO' (undefined-variable)
bottles/backend/utils/vdf.py:215:9: C0103: Argument name "fp" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/utils/vdf.py:237:14: C0103: Argument name "fp" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/utils/vdf.py:279:0: C0103: Class name "BASE_INT" doesn't conform to PascalCase naming style (invalid-name)
bottles/backend/utils/vdf.py:281:15: E1307: Argument 'bottles.backend.utils.vdf.BASE_INT' does not match format type 'd' (bad-string-format-type)
bottles/backend/utils/vdf.py:284:0: C0103: Class name "UINT_64" doesn't conform to PascalCase naming style (invalid-name)
bottles/backend/utils/vdf.py:288:0: C0103: Class name "INT_64" doesn't conform to PascalCase naming style (invalid-name)
bottles/backend/utils/vdf.py:313:17: C0103: Argument name "b" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/utils/vdf.py:330:16: C0103: Argument name "fp" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/utils/vdf.py:352:20: C0103: Argument name "fp" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/utils/vdf.py:382:12: W0702: No exception type(s) specified (bare-except)
bottles/backend/utils/vdf.py:388:4: C0103: Variable name "CURRENT_BIN_END" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/utils/vdf.py:390:8: C0103: Variable name "t" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/utils/vdf.py:446:21: C0103: Argument name "fp" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/utils/vdf.py:486:12: W0702: No exception type(s) specified (bare-except)
bottles/backend/utils/vdf.py:507:15: C0103: Argument name "s" doesn't conform to snake_case naming style (invalid-name)
************* Module bottles.backend.utils.nvidia
bottles/backend/utils/nvidia.py:2:0: W0105: String statement has no effect (pointless-string-statement)
bottles/backend/utils/nvidia.py:4:0: C0413: Import "import os" should be placed at the top of the module (wrong-import-position)
bottles/backend/utils/nvidia.py:5:0: C0413: Import "from ctypes import CDLL, POINTER, Structure, addressof, c_char_p, c_int, c_void_p, cast" should be placed at the top of the module (wrong-import-position)
bottles/backend/utils/nvidia.py:7:0: C0413: Import "from bottles.backend.logger import Logger" should be placed at the top of the module (wrong-import-position)
bottles/backend/utils/nvidia.py:14:0: R0903: Too few public methods (0/2) (too-few-public-methods)
bottles/backend/utils/nvidia.py:62:12: W0212: Access to a protected member _handle of a client class (protected-access)
bottles/backend/utils/nvidia.py:91:4: C0415: Import outside toplevel (bottles.backend.utils.gpu.GPUUtils, bottles.backend.utils.gpu.GPUVendors) (import-outside-toplevel)
bottles/backend/utils/nvidia.py:92:47: C0321: More than one statement on a single line (multiple-statements)
************* Module bottles.backend.utils.vulkan
bottles/backend/utils/vulkan.py:85:14: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
************* Module bottles.backend.utils.decorators
bottles/backend/utils/decorators.py:34:22: C0103: Argument name "f" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/utils/decorators.py:51:4: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
************* Module bottles.backend.wine.winebridge
bottles/backend/wine/winebridge.py:41:12: C0103: Variable name "r" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/wine/winebridge.py:45:12: C0103: Variable name "r" doesn't conform to snake_case naming style (invalid-name)
************* Module bottles.backend.wine.xcopy
bottles/backend/wine/xcopy.py:14:4: R0913: Too many arguments (18/5) (too-many-arguments)
************* Module bottles.backend.wine.notepad
bottles/backend/wine/notepad.py:26:0: C0305: Trailing newlines (trailing-newlines)
************* Module bottles.backend.wine.uninstaller
bottles/backend/wine/uninstaller.py:32:12: W0105: String statement has no effect (pointless-string-statement)
************* Module bottles.backend.wine.regkeys
bottles/backend/wine/regkeys.py:56:12: C0103: Variable name "d" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/wine/regkeys.py:59:20: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/wine/regkeys.py:159:12: W0105: String statement has no effect (pointless-string-statement)
bottles/backend/wine/regkeys.py:317:24: C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)
************* Module bottles.backend.wine.progman
bottles/backend/wine/progman.py:11:0: C0305: Trailing newlines (trailing-newlines)
************* Module bottles.backend.wine.start
bottles/backend/wine/start.py:14:4: R0913: Too many arguments (6/5) (too-many-arguments)
************* Module bottles.backend.wine.cmd
bottles/backend/wine/cmd.py:13:4: R0913: Too many arguments (6/5) (too-many-arguments)
************* Module bottles.backend.wine.winedbg
bottles/backend/wine/winedbg.py:41:12: C0103: Variable name "w" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/wine/winedbg.py:42:12: C0103: Variable name "w" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/wine/winedbg.py:45:16: C0103: Variable name "w" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/wine/winedbg.py:46:16: C0103: Variable name "w" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/wine/winedbg.py:48:12: C0103: Variable name "w" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/wine/winedbg.py:61:16: C0103: Variable name "w" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/wine/winedbg.py:107:16: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
bottles/backend/wine/winedbg.py:118:16: C0103: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
************* Module bottles.backend.wine.msiexec
bottles/backend/wine/msiexec.py:110:0: C0305: Trailing newlines (trailing-newlines)
bottles/backend/wine/msiexec.py:13:4: R0913: Too many arguments (6/5) (too-many-arguments)
bottles/backend/wine/msiexec.py:33:4: R0913: Too many arguments (13/5) (too-many-arguments)
************* Module bottles.backend.wine.oleview
bottles/backend/wine/oleview.py:11:0: C0305: Trailing newlines (trailing-newlines)
************* Module bottles.backend.wine.icinfo
bottles/backend/wine/icinfo.py:38:0: C0305: Trailing newlines (trailing-newlines)
bottles/backend/wine/icinfo.py:9:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/wine/icinfo.py:10:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/wine/icinfo.py:13:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/wine/icinfo.py:16:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/wine/icinfo.py:20:34: E1101: Instance of 'Result' has no 'split' member (no-member)
bottles/backend/wine/icinfo.py:24:12: C0103: Variable name "r" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/wine/icinfo.py:27:15: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
************* Module bottles.backend.wine.wineboot
bottles/backend/wine/wineboot.py:44:0: C0303: Trailing whitespace (trailing-whitespace)
************* Module bottles.backend.wine.explorer
bottles/backend/wine/explorer.py:13:4: R0913: Too many arguments (8/5) (too-many-arguments)
************* Module bottles.backend.wine.net
bottles/backend/wine/net.py:46:12: C0103: Variable name "r" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/wine/net.py:47:12: C0103: Variable name "r" doesn't conform to snake_case naming style (invalid-name)
************* Module bottles.backend.models.vdict
bottles/backend/models/vdict.py:26:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/backend/models/vdict.py:26:0: C0103: Constant name "_iter_values" doesn't conform to UPPER_CASE naming style (invalid-name)
bottles/backend/models/vdict.py:28:0: C0103: Class name "_string_type" doesn't conform to PascalCase naming style (invalid-name)
bottles/backend/models/vdict.py:36:0: R0903: Too few public methods (1/2) (too-few-public-methods)
bottles/backend/models/vdict.py:103:8: R1725: Consider using Python 3 style super() without arguments (super-with-arguments)
bottles/backend/models/vdict.py:107:15: R1725: Consider using Python 3 style super() without arguments (super-with-arguments)
bottles/backend/models/vdict.py:111:17: R1725: Consider using Python 3 style super() without arguments (super-with-arguments)
bottles/backend/models/vdict.py:125:20: R1725: Consider using Python 3 style super() without arguments (super-with-arguments)
bottles/backend/models/vdict.py:126:20: R1725: Consider using Python 3 style super() without arguments (super-with-arguments)
bottles/backend/models/vdict.py:143:15: R1725: Consider using Python 3 style super() without arguments (super-with-arguments)
bottles/backend/models/vdict.py:146:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
bottles/backend/models/vdict.py:155:8: R1725: Consider using Python 3 style super() without arguments (super-with-arguments)
bottles/backend/models/vdict.py:157:22: R1734: Consider using [] instead of list() (use-list-literal)
bottles/backend/models/vdict.py:160:15: R1725: Consider using Python 3 style super() without arguments (super-with-arguments)
bottles/backend/models/vdict.py:164:12: C2801: Unnecessarily calls dunder method __setitem__. Set item via subscript. (unnecessary-dunder-call)
bottles/backend/models/vdict.py:165:15: C2801: Unnecessarily calls dunder method __getitem__. Access item via subscript. (unnecessary-dunder-call)
bottles/backend/models/vdict.py:169:16: C2801: Unnecessarily calls dunder method __getitem__. Access item via subscript. (unnecessary-dunder-call)
bottles/backend/models/vdict.py:170:8: C2801: Unnecessarily calls dunder method __delitem__. Use del keyword. (unnecessary-dunder-call)
bottles/backend/models/vdict.py:186:12: C2801: Unnecessarily calls dunder method __setitem__. Set item via subscript. (unnecessary-dunder-call)
bottles/backend/models/vdict.py:179:0: W0613: Unused argument 'kwargs' (unused-argument)
bottles/backend/models/vdict.py:218:12: R1725: Consider using Python 3 style super() without arguments (super-with-arguments)
bottles/backend/models/vdict.py:229:12: C0103: Variable name "n" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/models/vdict.py:234:16: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
bottles/backend/models/vdict.py:235:16: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
************* Module bottles.frontend.main
bottles/frontend/main.py:26:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:26:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:27:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:27:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:28:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:28:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:48:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:49:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:51:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:53:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:57:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:62:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:65:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:65:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:84:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:88:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:88:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:88:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:89:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:90:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:90:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:91:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:91:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:92:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:92:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:180:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:180:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:180:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:180:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:203:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:203:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:207:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:207:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:208:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:211:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:211:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:211:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:211:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/main.py:32:0: C0413: Import "from gi.repository import Gtk, Gio, GLib, GObject, Adw" should be placed at the top of the module (wrong-import-position)
bottles/frontend/main.py:32:0: E0611: No name 'Adw' in module 'gi.repository' (no-name-in-module)
bottles/frontend/main.py:34:0: W0401: Wildcard import bottles.frontend.params (wildcard-import)
bottles/frontend/main.py:34:0: C0413: Import "from bottles.frontend.params import *" should be placed at the top of the module (wrong-import-position)
bottles/frontend/main.py:35:0: C0413: Import "from bottles.backend.logger import Logger" should be placed at the top of the module (wrong-import-position)
bottles/frontend/main.py:36:0: C0413: Import "from bottles.frontend.windows.main_window import MainWindow" should be placed at the top of the module (wrong-import-position)
bottles/frontend/main.py:37:0: C0413: Import "from bottles.frontend.views.preferences import PreferencesWindow" should be placed at the top of the module (wrong-import-position)
bottles/frontend/main.py:38:0: C0413: Import "from bottles.backend.health import HealthChecker" should be placed at the top of the module (wrong-import-position)
bottles/frontend/main.py:49:0: C0103: Constant name "base_dir" doesn't conform to UPPER_CASE naming style (invalid-name)
bottles/frontend/main.py:169:12: R1722: Consider using 'sys.exit' instead (consider-using-sys-exit)
bottles/frontend/main.py:175:12: W0105: String statement has no effect (pointless-string-statement)
bottles/frontend/main.py:179:16: C0103: Variable name "a" doesn't conform to snake_case naming style (invalid-name)
bottles/frontend/main.py:197:12: C0415: Import outside toplevel (bottles.frontend.windows.bottlepicker.BottlePickerDialog) (import-outside-toplevel)
bottles/frontend/main.py:210:8: C0415: Import outside toplevel (subprocess) (import-outside-toplevel)
bottles/frontend/main.py:211:8: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
bottles/frontend/main.py:190:4: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
bottles/frontend/main.py:244:8: R1722: Consider using 'sys.exit' instead (consider-using-sys-exit)
bottles/frontend/main.py:238:15: W0613: Unused argument 'action' (unused-argument)
bottles/frontend/main.py:238:28: W0613: Unused argument 'param' (unused-argument)
bottles/frontend/main.py:247:15: W0613: Unused argument 'action' (unused-argument)
bottles/frontend/main.py:247:28: W0613: Unused argument 'param' (unused-argument)
bottles/frontend/main.py:255:24: W0613: Unused argument 'action' (unused-argument)
bottles/frontend/main.py:255:37: W0613: Unused argument 'param' (unused-argument)
bottles/frontend/main.py:263:0: W0613: Unused argument 'args' (unused-argument)
bottles/frontend/main.py:267:4: W1113: Keyword argument before variable positional arguments list in the definition of __show_importer_view function (keyword-arg-before-vararg)
bottles/frontend/main.py:267:35: W0613: Unused argument 'widget' (unused-argument)
bottles/frontend/main.py:267:0: W0613: Unused argument 'args' (unused-argument)
bottles/frontend/main.py:255:4: W0238: Unused private member `Bottles.__refresh(self, action=None, param=None)` (unused-private-member)
bottles/frontend/main.py:234:8: W0201: Attribute 'win' defined outside __init__ (attribute-defined-outside-init)
bottles/frontend/main.py:357:9: W0613: Unused argument 'version' (unused-argument)
bottles/frontend/main.py:20:0: C0411: standard import "import os" should be placed before "import gi" (wrong-import-order)
bottles/frontend/main.py:21:0: C0411: standard import "import gettext" should be placed before "import gi" (wrong-import-order)
bottles/frontend/main.py:22:0: C0411: standard import "import locale" should be placed before "import gi" (wrong-import-order)
bottles/frontend/main.py:23:0: C0411: standard import "import webbrowser" should be placed before "import gi" (wrong-import-order)
bottles/frontend/main.py:24:0: C0411: standard import "from os import path" should be placed before "import gi" (wrong-import-order)
bottles/frontend/main.py:34:0: W0614: Unused import(s) APP_NAME_LOWER, APP_ID, BUILD_TYPE, ANIM_DURATION, EXECUTABLE_EXTS and DOC_URL from wildcard import of bottles.frontend.params (unused-wildcard-import)
************* Module bottles.frontend.windows.fsr
bottles/frontend/windows/fsr.py:85:0: C0305: Trailing newlines (trailing-newlines)
bottles/frontend/windows/fsr.py:24:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/windows/fsr.py:26:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/windows/fsr.py:18:0: E0611: No name 'Adw' in module 'gi.repository' (no-name-in-module)
bottles/frontend/windows/fsr.py:73:8: C0206: Consider iterating with .items() (consider-using-dict-items)
bottles/frontend/windows/fsr.py:73:23: C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)
bottles/frontend/windows/fsr.py:25:0: R0903: Too few public methods (0/2) (too-few-public-methods)
************* Module bottles.frontend.windows.exclusionpatterns
bottles/frontend/windows/exclusionpatterns.py:21:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/windows/exclusionpatterns.py:23:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/windows/exclusionpatterns.py:60:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/windows/exclusionpatterns.py:62:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/windows/exclusionpatterns.py:18:0: E0611: No name 'Adw' in module 'gi.repository' (no-name-in-module)
bottles/frontend/windows/exclusionpatterns.py:22:0: R0903: Too few public methods (0/2) (too-few-public-methods)
bottles/frontend/windows/exclusionpatterns.py:61:0: R0903: Too few public methods (0/2) (too-few-public-methods)
************* Module bottles.frontend.windows.vkbasalt
bottles/frontend/windows/vkbasalt.py:251:0: C0305: Trailing newlines (trailing-newlines)
bottles/frontend/windows/vkbasalt.py:56:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/windows/vkbasalt.py:58:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/windows/vkbasalt.py:29:0: E0611: No name 'Adw' in module 'gi.repository' (no-name-in-module)
bottles/frontend/windows/vkbasalt.py:30:0: E0401: Unable to import 'vkbasalt.lib' (import-error)
bottles/frontend/windows/vkbasalt.py:36:0: R0903: Too few public methods (0/2) (too-few-public-methods)
bottles/frontend/windows/vkbasalt.py:100:12: W0621: Redefining name 'VkBasaltSettings' from outer scope (line 36) (redefined-outer-name)
bottles/frontend/windows/vkbasalt.py:100:12: C0103: Variable name "VkBasaltSettings" doesn't conform to snake_case naming style (invalid-name)
bottles/frontend/windows/vkbasalt.py:115:19: C0121: Comparison 'conf[0] != None' should be 'conf[0] is not None' (singleton-comparison)
bottles/frontend/windows/vkbasalt.py:118:15: C0121: Comparison 'VkBasaltSettings.smaa_edge_detection != None' should be 'VkBasaltSettings.smaa_edge_detection is not None' (singleton-comparison)
bottles/frontend/windows/vkbasalt.py:149:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
bottles/frontend/windows/vkbasalt.py:144:0: W0613: Unused argument 'args' (unused-argument)
bottles/frontend/windows/vkbasalt.py:176:0: W0613: Unused argument 'args' (unused-argument)
bottles/frontend/windows/vkbasalt.py:180:0: W0613: Unused argument 'args' (unused-argument)
bottles/frontend/windows/vkbasalt.py:186:11: C0121: Comparison 'self.check_effects_states() == False' should be 'self.check_effects_states() is False' if checking for the singleton value False, or 'not self.check_effects_states()' if testing for falsiness (singleton-comparison)
bottles/frontend/windows/vkbasalt.py:184:24: W0613: Unused argument 'widget' (unused-argument)
bottles/frontend/windows/vkbasalt.py:190:43: W0613: Unused argument 'widget' (unused-argument)
bottles/frontend/windows/vkbasalt.py:211:8: R1703: The if statement can be replaced with 'return bool(test)' (simplifiable-if-statement)
bottles/frontend/windows/vkbasalt.py:211:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
bottles/frontend/windows/vkbasalt.py:217:29: C0103: Argument name "VkBasaltSettings" doesn't conform to snake_case naming style (invalid-name)
bottles/frontend/windows/vkbasalt.py:217:29: W0621: Redefining name 'VkBasaltSettings' from outer scope (line 36) (redefined-outer-name)
************* Module bottles.frontend.windows.depscheck
bottles/frontend/windows/depscheck.py:35:0: W1405: Quote delimiter " is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/windows/depscheck.py:18:0: E0611: No name 'Adw' in module 'gi.repository' (no-name-in-module)
bottles/frontend/windows/depscheck.py:22:0: R0903: Too few public methods (0/2) (too-few-public-methods)
************* Module bottles.frontend.windows.gamescope
bottles/frontend/windows/gamescope.py:110:0: C0305: Trailing newlines (trailing-newlines)
bottles/frontend/windows/gamescope.py:21:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/windows/gamescope.py:23:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/windows/gamescope.py:18:0: E0611: No name 'Adw' in module 'gi.repository' (no-name-in-module)
bottles/frontend/windows/gamescope.py:56:29: W0613: Unused argument 'widget' (unused-argument)
bottles/frontend/windows/gamescope.py:98:8: C0206: Consider iterating with .items() (consider-using-dict-items)
bottles/frontend/windows/gamescope.py:98:23: C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)
bottles/frontend/windows/gamescope.py:22:0: R0903: Too few public methods (0/2) (too-few-public-methods)
************* Module bottles.frontend.windows.envvars
bottles/frontend/windows/envvars.py:23:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/windows/envvars.py:25:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/windows/envvars.py:74:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/windows/envvars.py:76:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/windows/envvars.py:18:0: E0611: No name 'Adw' in module 'gi.repository' (no-name-in-module)
bottles/frontend/windows/envvars.py:24:0: R0903: Too few public methods (0/2) (too-few-public-methods)
bottles/frontend/windows/envvars.py:99:8: W0201: Attribute '__valid_name' defined outside __init__ (attribute-defined-outside-init)
bottles/frontend/windows/envvars.py:109:12: W0201: Attribute '__valid_name' defined outside __init__ (attribute-defined-outside-init)
bottles/frontend/windows/envvars.py:75:0: R0903: Too few public methods (0/2) (too-few-public-methods)
************* Module bottles.frontend.windows.protonalert
bottles/frontend/windows/protonalert.py:21:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/windows/protonalert.py:23:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/windows/protonalert.py:18:0: E0611: No name 'Adw' in module 'gi.repository' (no-name-in-module)
bottles/frontend/windows/protonalert.py:22:0: R0903: Too few public methods (0/2) (too-few-public-methods)
************* Module bottles.frontend.windows.launchoptions
bottles/frontend/windows/launchoptions.py:24:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/windows/launchoptions.py:26:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/windows/launchoptions.py:18:0: E0611: No name 'Adw' in module 'gi.repository' (no-name-in-module)
bottles/frontend/windows/launchoptions.py:165:31: W0613: Unused argument 'widget' (unused-argument)
bottles/frontend/windows/launchoptions.py:174:4: R1711: Useless return at end of function or method (useless-return)
bottles/frontend/windows/launchoptions.py:25:0: R0903: Too few public methods (1/2) (too-few-public-methods)
bottles/frontend/windows/launchoptions.py:21:0: C0411: standard import "from gettext import gettext as _" should be placed before "from gi.repository import Gtk, GLib, GObject, Adw" (wrong-import-order)
************* Module bottles.frontend.windows.sandbox
bottles/frontend/windows/sandbox.py:21:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/windows/sandbox.py:23:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/windows/sandbox.py:18:0: E0611: No name 'Adw' in module 'gi.repository' (no-name-in-module)
bottles/frontend/windows/sandbox.py:45:25: W0613: Unused argument 'widget' (unused-argument)
bottles/frontend/windows/sandbox.py:22:0: R0903: Too few public methods (0/2) (too-few-public-methods)
************* Module bottles.frontend.views.library
bottles/frontend/views/library.py:28:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/views/library.py:30:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/views/library.py:21:0: E0611: No name 'Adw' in module 'gi.repository' (no-name-in-module)
bottles/frontend/views/library.py:59:12: C0103: Variable name "u" doesn't conform to snake_case naming style (invalid-name)
bottles/frontend/views/library.py:59:15: C0103: Variable name "e" doesn't conform to snake_case naming style (invalid-name)
bottles/frontend/views/library.py:67:0: W0613: Unused argument 'args' (unused-argument)
bottles/frontend/views/library.py:72:0: W0613: Unused argument 'args' (unused-argument)
bottles/frontend/views/library.py:89:22: W0613: Unused argument 'widget' (unused-argument)
************* Module bottles.frontend.widgets.installer
bottles/frontend/widgets/installer.py:26:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/widgets/installer.py:28:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/widgets/installer.py:57:0: W1405: Quote delimiter ' is inconsistent with the rest of the file (inconsistent-quotes)
bottles/frontend/widgets/installer.py:18:0: E0611: No name 'Adw' in module 'gi.repository' (no-name-in-module)
bottles/frontend/widgets/installer.py:73:30: W0613: Unused argument 'widget' (unused-argument)
bottles/frontend/widgets/installer.py:85:28: W0613: Unused argument 'widget' (unused-argument)
bottles/frontend/widgets/installer.py:96:26: W0613: Unused argument 'widget' (unused-argument)
bottles/frontend/widgets/installer.py:100:34: W0613: Unused argument 'widget' (unused-argument)
bottles/frontend/widgets/installer.py:27:0: R0903: Too few public methods (0/2) (too-few-public-methods)
bottles/frontend/widgets/installer.py:19:0: C0411: standard import "from gettext import gettext as _" should be placed before "from gi.repository import Gtk, Adw" (wrong-import-order)
bottles/frontend/widgets/installer.py:20:0: C0411: standard import "import webbrowser" should be placed before "from gi.repository import Gtk, Adw" (wrong-import-order)
************* Module bottles.frontend.utils.common
bottles/frontend/utils/common.py:21:17: W0613: Unused argument 'widget' (unused-argument)

@TheEvilSkeleton TheEvilSkeleton marked this pull request as ready for review July 30, 2023 00:14
@TheEvilSkeleton TheEvilSkeleton merged commit c1a7143 into main Jul 30, 2023
5 checks passed
@TheEvilSkeleton TheEvilSkeleton deleted the unimport branch July 30, 2023 01:06
@TheEvilSkeleton TheEvilSkeleton changed the title frontend, backend: Remove unused imports chore: Remove unused imports Jul 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants