-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
Universal Basic Income Addition - Updated #1919
Conversation
@Kpinkelman, pull request #1919 looks fine (assuming the tests pass) except for one thing. Can you move the P.S. Looks like you have a PEP8 error to fix anyway. |
Reordered Distribution Table
@Kpinkelman, please read about the testing procedures you need to be following before submitting a pull request in this document. |
@martinholmer That's odd - it seemed to be passing tests when I ran it locally:
and
|
taxcalc/utils.py
Outdated
@@ -86,7 +88,7 @@ | |||
# labels list to map a label to the correct column in a difference table. | |||
|
|||
DIFF_VARIABLES = ['expanded_income', 'c00100', 'aftertax_income', | |||
'iitax', 'payrolltax', 'combined', 's006'] | |||
'iitax', 'payrolltax', 'combined', 's006','ubi'] |
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.
One of the reasons the tests are failing is this line. You need to add a space between the comma and 'ubi' to comply with PEP8 standards.
@Kpinkelman said:
Yes, that is odd because I get two failures on my computer when testing PR#1919 and that's what happens on GitHub. Here is what I get:
These are substantive errors that indicate somethings are not quite right in your pull request. |
When running the test locally I get the same two errors as @martinholmer. The errors are popping up because
The label for |
taxcalc/utils.py
Outdated
@@ -78,6 +79,7 @@ | |||
'Individual Income Tax Liabilities', | |||
'Payroll Tax Liablities', | |||
'Combined Payroll and Individual Income Tax Liabilities', | |||
'Universal Basic Income' |
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.
@Kpinkelman, add the comma here.
Codecov Report
@@ Coverage Diff @@
## master #1919 +/- ##
=======================================
Coverage 100% 100%
=======================================
Files 37 38 +1
Lines 3319 3588 +269
=======================================
+ Hits 3319 3588 +269
Continue to review full report at Codecov.
|
@Kpinkelman, Thanks for the contribution in pull request #1919. |
Had an issue with the branch opened for the first PR, so opening a new PR with both the distribution and difference tables edited.