Skip to content

Commit

Permalink
Merge pull request #291 from QGIS-Contribution/pre-commit-ci-update-c…
Browse files Browse the repository at this point in the history
…onfig

[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
Guts authored Apr 3, 2023
2 parents a1ba91b + bd05db0 commit 592b2b3
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ repos:
args: [--markdown-linebreak-ext=md]

- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.3.1
rev: v1.5.1
hooks:
- id: remove-tabs
args: ["--whitespaces-count", "4"]

- repo: https://github.com/psf/black
rev: 22.12.0
rev: 23.3.0
hooks:
- id: black

- repo: https://github.com/pycqa/isort
rev: 5.11.4
rev: 5.12.0
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]
Expand Down
1 change: 0 additions & 1 deletion tests/qgis/test_collections_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
class TestCollections(unittest.TestCase):
@classmethod
def setUpClass(cls):

pass

def test_get_collection_id(self):
Expand Down
1 change: 0 additions & 1 deletion tests/qgis/test_handler_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
class TestBaseHandler(BaseTestPlugin):
@classmethod
def setUpClass(cls):

pass

def setUp(self):
Expand Down
1 change: 0 additions & 1 deletion tests/qgis/test_handler_file_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
class TestFileSystemHandler(BaseTestPlugin):
@classmethod
def setUpClass(cls):

pass

def setUp(self):
Expand Down
1 change: 0 additions & 1 deletion tests/qgis/test_handler_remote_git.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
class TestRemoteGitHandler(unittest.TestCase):
@classmethod
def setUpClass(cls):

pass

def setUp(self):
Expand Down
1 change: 0 additions & 1 deletion tests/qgis/test_manage_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ class ManageDialogTest(unittest.TestCase):

@classmethod
def setUpClass(cls):

pass

def setUp(self):
Expand Down
2 changes: 0 additions & 2 deletions tests/qgis/test_symbol_resolver_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@


class TestSymbolResolverMixin(unittest.TestCase):

maxDiff = None

@classmethod
def setUpClass(cls):

cls.collection_path = test_data_path(
"repository_dummy", "collections", "test_collection"
)
Expand Down
1 change: 0 additions & 1 deletion tests/qgis/test_symbol_xml_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
class TestSymbolXMLExtractor(unittest.TestCase):
@classmethod
def setUpClass(cls):

pass

def test_parse_xml(self):
Expand Down
1 change: 0 additions & 1 deletion tests/qgis/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ def test_data_path(*args):
raise FileNotFoundError(fixtures_data_dir)
# build absolute path for asked files
for item in args:

fixtures_data_dir = os.path.abspath(os.path.join(fixtures_data_dir, item))

return fixtures_data_dir
Expand Down

0 comments on commit 592b2b3

Please sign in to comment.