audit-labs/audit-tools

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

Commit 72af7c7955

72af7c7955b82ff008b748c5f8ed115d3556e5e8

parent: b97b681102

Unsigned

cmc <hello@cleberg.net> · 2024-10-19 19:28 UTC

fix pylint issues

Layout: unified · split

.github/workflows/pylint.yml +1 −1
@@ -17,7 +17,7 @@ jobs:
17 - name: Install dependencies 17 - name: Install dependencies
18 run: | 18 run: |
19 python -m pip install --upgrade pip 19 python -m pip install --upgrade pip
20 pip install pylint pandas 20 pip install pylint pandas dash plotly.express
21 - name: Analysing the code with pylint 21 - name: Analysing the code with pylint
22 run: | 22 run: |
23 pylint $(git ls-files '*.py') 23 pylint $(git ls-files '*.py')
project_management/dash/app.py +10 −1
@@ -1,3 +1,7 @@
1"""
2Extensible dashboard for project status.
3"""
4
1# Import packages 5# Import packages
2from dash import Dash, html, dash_table, dcc 6from dash import Dash, html, dash_table, dcc
3import pandas as pd 7import pandas as pd
@@ -32,7 +36,12 @@ app.layout = [
32 ), 36 ),
33 style = {'flex-grow':'1'} 37 style = {'flex-grow':'1'}
34 ) 38 )
35 ], style = {'display':'flex', 'flex-wrap':'wrap', 'justify-content':'space-between', 'align-items':'center'}), 39 ],
40 style = {
41 'display':'flex',
42 'flex-wrap':'wrap',
43 'justify-content':'space-between',
44'align-items':'center'}),
36 dcc.Graph( 45 dcc.Graph(
37 figure=px.pie( 46 figure=px.pie(
38 df, 47 df,