From 2cd433f95b0bc32c8f43d5cc566125cdde66850a Mon Sep 17 00:00:00 2001 From: DongGeon Lee Date: Wed, 14 Aug 2024 00:41:42 +0900 Subject: [PATCH] style: Clean code (#393) --- .pylintrc | 3 +++ stock_indicators/indicators/__init__.py | 2 +- stock_indicators/indicators/common/quote.py | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.pylintrc b/.pylintrc index 908fb7d0..9c2e7350 100644 --- a/.pylintrc +++ b/.pylintrc @@ -8,8 +8,11 @@ ignore-imports=yes disable= C0103, + C0114, + C0115, C0116, C0301, + C0321, C0413, E0401, W0212, diff --git a/stock_indicators/indicators/__init__.py b/stock_indicators/indicators/__init__.py index fa1d79b1..d11e5fc6 100644 --- a/stock_indicators/indicators/__init__.py +++ b/stock_indicators/indicators/__init__.py @@ -34,7 +34,7 @@ from .fisher_transform import (get_fisher_transform) from .force_index import (get_force_index) from .fractal import (get_fractal) -from .gator import(get_gator) +from .gator import (get_gator) from .heikin_ashi import (get_heikin_ashi) from .hma import (get_hma) from .ht_trendline import (get_ht_trendline) diff --git a/stock_indicators/indicators/common/quote.py b/stock_indicators/indicators/common/quote.py index a369ecaf..1254c43f 100644 --- a/stock_indicators/indicators/common/quote.py +++ b/stock_indicators/indicators/common/quote.py @@ -87,4 +87,3 @@ def use(cls, quotes: Iterable["Quote"], candle_part: CandlePart): class Quote(generate_cs_inherited_class(_Quote, CsQuote)): """A single dated quote containing OHLCV elements.""" - pass