audit-labs/audit-tools

A collection of scripts, queries, and other goodies you can use in an audit.

clone: git clone https://gitbay.org/audit-labs/audit-tools.git

d4dff7a2caa07e2a3510cbfbe11ab7a02678ca46

verified · cmc

author: Christian Cleberg <hello@cleberg.net> · 2024-10-19T19:28:05Z

fix pylint issues
 .github/workflows/pylint.yml   |  2 +-
 project_management/dash/app.py | 11 ++++++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml
index f1c6558..c1aeff6 100644
--- a/.github/workflows/pylint.yml
+++ b/.github/workflows/pylint.yml
@@ -17,7 +17,7 @@ jobs:
     - name: Install dependencies
       run: |
         python -m pip install --upgrade pip
-        pip install pylint pandas
+        pip install pylint pandas dash plotly.express
     - name: Analysing the code with pylint
       run: |
         pylint $(git ls-files '*.py')
diff --git a/project_management/dash/app.py b/project_management/dash/app.py
index b6aa824..01c8478 100644
--- a/project_management/dash/app.py
+++ b/project_management/dash/app.py
@@ -1,3 +1,7 @@
+"""
+Extensible dashboard for project status.
+"""
+
 # Import packages
 from dash import Dash, html, dash_table, dcc
 import pandas as pd
@@ -32,7 +36,12 @@ app.layout = [
 			),
 			style = {'flex-grow':'1'}
 		)
-	], style = {'display':'flex', 'flex-wrap':'wrap', 'justify-content':'space-between', 'align-items':'center'}),
+	],
+	style = {
+		'display':'flex',
+		'flex-wrap':'wrap',
+		'justify-content':'space-between',
+'align-items':'center'}),
 	dcc.Graph(
 		figure=px.pie(
 			df,