-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add absolute import checking #180
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #180 +/- ##
==========================================
+ Coverage 90.55% 90.66% +0.11%
==========================================
Files 38 38
Lines 2562 2593 +31
==========================================
+ Hits 2320 2351 +31
Misses 242 242
Continue to review full report at Codecov.
|
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.
when you squash and merge, can you also add in the commit message that this change is adds the copyright notice?
@@ -10,6 +10,8 @@ | |||
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF | |||
# ANY KIND, either express or implied. See the License for the specific | |||
# language governing permissions and limitations under the License. | |||
from __future__ import absolute_import | |||
|
|||
import sys | |||
|
|||
import os |
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.
while you're here, want to also group os
and sys
?
@@ -1,4 +1,17 @@ | |||
# -*- coding: utf-8 -*- | |||
# Copyright 2017-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
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.
is there a reason we have 2017-2018 for some and just 2018 for others?
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.
Not really, I will update all the copyright to the 2017-2018 range.
@@ -10,3 +10,4 @@ | |||
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF | |||
# ANY KIND, either express or implied. See the License for the specific | |||
# language governing permissions and limitations under the License. | |||
from __future__ import absolute_import |
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.
do we need this for files with no code?
Fix missing word
Issue #, if available:
#179
#139
Description of changes:
Merge Checklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.