Skip to content

Commit

Permalink
code analysis tools
Browse files Browse the repository at this point in the history
  • Loading branch information
roy-reshef committed Mar 2, 2021
1 parent 4171ac8 commit b8d655e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .flake8
@@ -0,0 +1,3 @@
[flake8]
exclude = **venv**
max-line-length = 120
2 changes: 0 additions & 2 deletions costreport/consts.py
Expand Up @@ -34,5 +34,3 @@ class ItemType(Enum):
LINE = 'line'
STACK = 'stack'
VALUE = 'value'


7 changes: 4 additions & 3 deletions costreport/cost_report_generator.py
Expand Up @@ -12,8 +12,8 @@
from costreport.app_config import AppConfig
from costreport.consts import OUTPUT_DIR, ItemType, ReportItemName
from costreport.cost_client import AwsCostClient
from costreport.date_utils import get_today, get_months_back, get_days_back, get_first_day_next_month, format_datetime, \
TIME_FORMAT
from costreport.date_utils import get_today, get_months_back, get_days_back, get_first_day_next_month, \
format_datetime, TIME_FORMAT
from costreport.intermediate_data import IntermediateData, IntermediateSimpleResult, IntermediateComplexResults

logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -310,5 +310,6 @@ def generate_current_month_forecast(self):
def post_processing(self):
"""
generate additional data items based on existing data items.
:return:
:return:
"""
...
2 changes: 2 additions & 0 deletions requirements-dev.txt
@@ -0,0 +1,2 @@
gittyleaks==0.0.31
flake8==3.8.4

0 comments on commit b8d655e

Please sign in to comment.