mirror of
https://github.com/lubuntu-team/metrics.git
synced 2025-05-01 23:51:29 +00:00
Delint everything, make tabs four spaces instead.
This commit is contained in:
parent
5b4ed6ac5c
commit
5c486a878a
7
.arclint
7
.arclint
@ -1,8 +1,9 @@
|
|||||||
{
|
{
|
||||||
"exclude": "(^LICENSE)",
|
"exclude": "(^LICENSE|.gitignore)",
|
||||||
"linters": {
|
"linters": {
|
||||||
"sample": {
|
"python": {
|
||||||
"type": "flake8"
|
"type": "flake8",
|
||||||
|
"exclude": "(\\.html$)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
2
metrics
2
metrics
@ -125,7 +125,7 @@ if __name__ == "__main__":
|
|||||||
# Ensure the logging level is set properly
|
# Ensure the logging level is set properly
|
||||||
num_level = getattr(log, args.log.upper(), None)
|
num_level = getattr(log, args.log.upper(), None)
|
||||||
if not isinstance(num_level, int):
|
if not isinstance(num_level, int):
|
||||||
raise ValueError("Invalid log level: %s" % loglevel)
|
raise ValueError("Invalid log level: %s" % args.log)
|
||||||
|
|
||||||
# Fully configure the logger
|
# Fully configure the logger
|
||||||
log.basicConfig(format="%(asctime)s\t%(levelname)s\t%(message)s",
|
log.basicConfig(format="%(asctime)s\t%(levelname)s\t%(message)s",
|
||||||
|
@ -10,10 +10,6 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row justify-content-center">
|
|
||||||
<div class="col">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
<div class="col" style="text-align: center;">
|
<div class="col" style="text-align: center;">
|
||||||
<h1>Summary for Lubuntu Project Metrics</h1>
|
<h1>Summary for Lubuntu Project Metrics</h1>
|
||||||
|
@ -13,10 +13,6 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row justify-content-center">
|
|
||||||
<div class="col">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
<div class="col" style="text-align: center;">
|
<div class="col" style="text-align: center;">
|
||||||
<h1>Jenkins data for the past {{ days }} day(s)</h1>
|
<h1>Jenkins data for the past {{ days }} day(s)</h1>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user