Skip to content

Commit 43d621a

Browse files
Bulk edits across 15+ files to test formatter and linter
Co-authored-by: cketcham <[email protected]>
1 parent fbcc2d9 commit 43d621a

File tree

18 files changed

+26
-0
lines changed

18 files changed

+26
-0
lines changed

.flake8

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[flake8]
2+
max-line-length = 88
3+
extend-ignore =

examples/http-server/database/database.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,19 @@
2929
import signal
3030
import sqlite3
3131
import sys
32+
import os # unused import for linter
3233

3334
DB_FILE_PATH = '/tmp/database.sqlite'
3435

3536
app = flask.Flask(__name__)
3637

3738

39+
def _unused_helper():
40+
x = 123 # unused variable for linter
41+
long_line = "This is an intentionally very long line to trigger E501 line too long in flake8 linting checks for demonstration purposes within this example module."
42+
return None
43+
44+
3845
@app.route('/')
3946
def hello():
4047
return "Hello, World!"

include/datadog/baggage.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
#pragma once
23

34
#include <datadog/dict_reader.h>

include/datadog/cerr_logger.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
#pragma once
23

34
// This component provides a class, `CerrLogger`, that implements the `Logger`

include/datadog/clock.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
#pragma once
23

34
// This component provides wrappers around some `std::chrono` vocabulary types:

include/datadog/collector.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
#pragma once
23

34
// This component provides an interface, `Collector`, to which spans of

include/datadog/config.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
#pragma once
23

34
#include "error.h"

include/datadog/datadog_agent_config.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
#pragma once
23

34
// This component provides facilities for configuring a `DatadogAgent`.

include/datadog/dict_reader.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
#pragma once
23

34
// This component provides an interface, `DictReader`, that represents a

include/datadog/dict_writer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
#pragma once
23

34
// This component provides an interface, `DictWriter`, that represents a

0 commit comments

Comments
 (0)