metno / MetAlert-Search

Polygon search and indexing package for Annotated Atlas
Apache License 2.0
1 stars 0 forks source link

Syntax and formatting updates #15

Closed vkbo closed 3 years ago

vkbo commented 3 years ago

Summary:

Mostly flake8, PEP8 and consistency changes. Also removed some unused or redundant checks in tests.

Also discovered an issue with the Shape class which assumes Path object rather than paths as string. This is not discovered in tests as the config variable is overwritten with a Path object. If the unmodified Config object is used, the code doesn't work. This can be resolved when the Data class is implemented and is not critical at this point.

Related Issue:

Suggested reviewer(s):

Reviewer checklist: