Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
For more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 28, 2024
1 parent fccf280 commit f233589
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Configuration file for the Sphinx documentation builder."""

#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
Expand Down
1 change: 1 addition & 0 deletions src/energy_comms/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
It takes two numbers and does something to them, printing out the result.
"""

from __future__ import annotations

import argparse
Expand Down
1 change: 1 addition & 0 deletions src/energy_comms/extract/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
that are minimally altered from their original data and are ready for cleaning
in the transform modules.
"""

from energy_comms.extract import bls, eia860, epa, msha # noqa: F401
1 change: 1 addition & 0 deletions src/energy_comms/extract/bls.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Extract data from Bureau of Labor Statistics into dataframes for employment criteria."""

from __future__ import annotations

import io
Expand Down
1 change: 1 addition & 0 deletions src/energy_comms/extract/eia860.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Extract EIA 860 plants data and load into pandas dataframe."""

import pandas as pd
import sqlalchemy as sa

Expand Down
1 change: 1 addition & 0 deletions src/energy_comms/extract/epa.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Extract brownfields sites from EPA source."""

import logging

import pandas as pd
Expand Down
1 change: 1 addition & 0 deletions src/energy_comms/extract/msha.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Extract MSHA mines data and load into pandas dataframe."""

import io
import logging
import zipfile
Expand Down
1 change: 1 addition & 0 deletions src/energy_comms/helpers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""General utility functions that are used in a variety of contexts."""

import logging
from typing import Any, Literal

Expand Down
1 change: 1 addition & 0 deletions src/energy_comms/output/qual_area_analysis.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Perform analyses on the output dataframe of qualifying areas."""

import logging

import pandas as pd
Expand Down
1 change: 1 addition & 0 deletions src/energy_comms/transform/bls.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Transform functions for Bureau of Labor Statistics data for employment criteria."""

import logging
import math

Expand Down
1 change: 1 addition & 0 deletions src/energy_comms/transform/eia860.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Transform functions for the EIA 860 generators data."""

from datetime import datetime
from typing import Any, Literal

Expand Down
1 change: 1 addition & 0 deletions src/energy_comms/transform/epa.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Transform functiosn for EPA brownfields data."""

import logging
from typing import Any, Literal

Expand Down
1 change: 1 addition & 0 deletions src/energy_comms/transform/msha.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Transform functions for the MSHA mine data."""

from typing import Any, Literal

import geopandas
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""PyTest configuration module. Defines useful fixtures, command line args."""

from __future__ import annotations

import json
Expand Down
1 change: 1 addition & 0 deletions tests/integration/etl_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test functionality of the ETL for the energy communities criteria."""

from __future__ import annotations

import logging
Expand Down

0 comments on commit f233589

Please sign in to comment.