Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dwsilk committed Jul 31, 2022
1 parent 5e1cf60 commit 1495d30
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ You can run the tests using the test.bash script: `./test.bash QGIS_VERSION LDI_
- [LDI_NZDF_KEY](https://koordinates.com/my/api/)
- [LDI_BASEMAPS_KEY](https://basemaps.linz.govt.nz/)

Note: some of UI tests can fail if it takes longer than expected for the user interface to respond or refresh. This can sometimes be resolved by rerunning the failed tests.
Note: some of UI tests can fail if it takes longer than expected for the user interface to respond or refresh. This can sometimes be resolved by rerunning the failed tests.

### Deploy

Expand Down
12 changes: 6 additions & 6 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
master_doc = "index" # pylint:disable=invalid-name

# General information about the project.
project = u"QgisLdsPlugin" # pylint:disable=invalid-name
copyright = u"2013, Land Information New Zealand" # pylint:disable=redefined-builtin,invalid-name
project = "QgisLdsPlugin" # pylint:disable=invalid-name
copyright = "2013, Land Information New Zealand" # pylint:disable=redefined-builtin,invalid-name

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down Expand Up @@ -177,8 +177,8 @@
(
"index",
"QgisLdsPlugin.tex",
u"QgisLdsPlugin Documentation",
u"Land Information New Zealand",
"QgisLdsPlugin Documentation",
"Land Information New Zealand",
"manual",
),
]
Expand Down Expand Up @@ -215,8 +215,8 @@
(
"index",
"TemplateClass",
u"QgisLdsPlugin Documentation",
[u"Land Information New Zealand"],
"QgisLdsPlugin Documentation",
["Land Information New Zealand"],
1,
)
]
4 changes: 2 additions & 2 deletions linz-data-importer/tests/test_ldi_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def test_handle_corrupt_xml(self):
for row in range(self.ldi.proxy_model.rowCount())
}
self.assertEqual(len(data_types), 2)
self.assertEqual(sorted([u"WFS", u"WMTS"]), sorted(list(data_types)))
self.assertEqual(sorted(["WFS", "WMTS"]), sorted(list(data_types)))


class CacheTest(unittest.TestCase):
Expand Down Expand Up @@ -495,7 +495,7 @@ def test_all_services(self):
for row in range(self.ldi.proxy_model.rowCount())
}
self.assertEqual(len(data_types), 2)
self.assertEqual(sorted([u"WFS", u"WMTS"]), sorted(list(data_types)))
self.assertEqual(sorted(["WFS", "WMTS"]), sorted(list(data_types)))

@staticmethod
def map_refreshed():
Expand Down

0 comments on commit 1495d30

Please sign in to comment.