Skip to content

Commit

Permalink
Merge pull request #6837 from drew2a/refactoring/pre-commit
Browse files Browse the repository at this point in the history
Remove pre-commit
  • Loading branch information
drew2a authored Mar 29, 2022
2 parents f6b773c + 541672c commit 111514d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 67 deletions.
15 changes: 12 additions & 3 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
[flake8]
max-line-length = 120
select=E901,E999,F821,F822,F823,I100,I101,I201,I202,T001,T002,T003,T004
ignore=E203,W503,C0330
application-import-names=tribler,run_tribler
extend-ignore =
I202, # Additional newline in a group of imports
E127, # continuation line over-indented for visual indent
E128, # continuation line under-indented for visual indent
E131, # continuation line unaligned for hanging indent
F722, # syntax error in forward annotation '20s'
E731, # do not assign a lambda expression, use a def
F401, # Pylint-checked, module imported but unused
F841, # Pylint-checked, local variable is assigned to but never used
E722, # Pylint-checked, do not use bare 'except'
E501 # Pylint-checked, line too long
import-order-style=pycharm
13 changes: 0 additions & 13 deletions .isort.cfg

This file was deleted.

49 changes: 0 additions & 49 deletions .pre-commit-config.yaml

This file was deleted.

3 changes: 1 addition & 2 deletions src/tribler/gui/upgrade_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
from PyQt5.QtCore import QObject, QThread, pyqtSignal
from PyQt5.QtWidgets import QMessageBox

from tribler.run_tribler_upgrader import upgrade_state_dir
from tribler.core.upgrade.version_manager import TriblerVersion, VersionHistory

from tribler.gui.utilities import connect, format_size, tr
from tribler.run_tribler_upgrader import upgrade_state_dir


class StateDirUpgradeWorker(QObject):
Expand Down

0 comments on commit 111514d

Please sign in to comment.