mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-28 09:11:17 -07:00
Re-export requirements.txt to fix version errors (#1099)
* Re-export requirements.txt to fix version errors The version of lxml in this file had a known vulnerability that got caught by the "safety" checker, but it is updated in the poetry files. Regenerated using: https://github.com/usds/justice40-tool/tree/main/data/data-pipeline#miscellaneous * Fix lint error * Run lint on all envs and add comments * Ignore testst that fail lint because of dev deps * Ignore medium.com in link checker It's returning 403s to github actions...
This commit is contained in:
parent
2aa79a334c
commit
93595b7bb4
4 changed files with 66 additions and 70 deletions
|
@ -95,9 +95,13 @@ class EnergyDefinitionAlternativeDraft(ExtractTransformLoad):
|
|||
)
|
||||
|
||||
# Convert to boolean:
|
||||
self.df[field_names.ENERGY_RELATED_COMMUNITIES_DEFINITION_ALTERNATIVE] = \
|
||||
self.df[field_names.ENERGY_RELATED_COMMUNITIES_DEFINITION_ALTERNATIVE
|
||||
].astype('bool')
|
||||
self.df[
|
||||
field_names.ENERGY_RELATED_COMMUNITIES_DEFINITION_ALTERNATIVE
|
||||
] = self.df[
|
||||
field_names.ENERGY_RELATED_COMMUNITIES_DEFINITION_ALTERNATIVE
|
||||
].astype(
|
||||
"bool"
|
||||
)
|
||||
|
||||
def validate(self) -> None:
|
||||
logger.info("Validating data")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue