Score F, testing methodology (#510)

* fixing dependency issue

* fixing more dependencies

* including fraction of state AMI

* wip

* nitpick whitespace

* etl working now

* wip on scoring

* fix rename error

* reducing metrics

* fixing score f

* fixing readme

* adding dependency

* passing tests;

* linting/black

* removing unnecessary sample

* fixing error

* adding verify flag on etl/base

Co-authored-by: Jorge Escobar <jorge.e.escobar@omb.eop.gov>
This commit is contained in:
Lucas Merrill Brown 2021-08-24 15:40:54 -05:00 committed by GitHub
commit 65ceb7900f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 557 additions and 153 deletions

View file

@ -1,10 +1,16 @@
{
"python.formatting.provider": "black",
"python.formatting.blackArgs": [
"--line-length=80"
],
"python.linting.enabled": true,
"python.linting.flake8Enabled": true,
"python.linting.pylintEnabled": true,
"python.testing.pytestEnabled": true,
"python.testing.pytestArgs": ["-s", "."],
"python.testing.pytestArgs": [
"-s",
"."
],
"python.testing.unittestEnabled": false,
"python.testing.nosetestsEnabled": false
}

View file

@ -4,7 +4,7 @@
"version": "2.0.0",
"tasks": [
{
"label": "test with tox",
"label": "Test with tox",
"type": "shell",
"command": "tox",
"group": {
@ -16,19 +16,25 @@
"label": "Run Black Formatter",
"type": "shell",
"command": "black",
"args": ["data_pipeline"]
"args": [
"data_pipeline"
]
},
{
"label": "Run Flake8 Style Enforcer",
"type": "shell",
"command": "black",
"args": ["data_pipeline"]
"args": [
"data_pipeline"
]
},
{
"label": "Run Pylint",
"type": "shell",
"command": "pylint",
"args": ["data_pipeline"]
"args": [
"data_pipeline"
]
}
]
}