-
Notifications
You must be signed in to change notification settings - Fork 37
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
ODC environment configuration #1015
Conversation
Ugh. Now the unit testing framework for testing without a database is broken (works fine at home where it can just connect to a database). I'm going to have to monkeypatch. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop-1.9 #1015 +/- ##
============================================
Coverage 93.77% 93.77%
============================================
Files 47 46 -1
Lines 6631 6573 -58
============================================
- Hits 6218 6164 -54
+ Misses 413 409 -4
|
I think the main point(s) of having an isort-like tool is that you never get duplicate imports when merging/cherry-picking/etc, and you avoid spurious merge conflicts because one commit does My experience with black+isort/clang-format is that they are massive productivity boosters because the bikeshedding about formatting is eliminated, there's a program that mechanically decides if things are well-formatted or not and all you have to do to comply is run that program. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks massive, but, sure... I guess. And Thank you.
Better ODC/OWS configuration integration.
The are hooks for overriding the ODC environment per layer - so multi-database support. But more work needs to be done cleaning up the range table schema and code before that can be turned on.
Also refactored some variable names to reduce confusions with ODC products and OWS layers.
Oh and I turned off
isort
in pre-commit because I've never liked the way it formats multi-line imports and the order of imports isn't that important to begin with, imo.