Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[flake8]
max-line-length = 88
extend-ignore =
7 changes: 7 additions & 0 deletions examples/http-server/database/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,19 @@
import signal
import sqlite3
import sys
import os # unused import for linter

DB_FILE_PATH = '/tmp/database.sqlite'

app = flask.Flask(__name__)


def _unused_helper():
x = 123 # unused variable for linter
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."
return None


@app.route('/')
def hello():
return "Hello, World!"
Expand Down
1 change: 1 addition & 0 deletions include/datadog/baggage.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

#pragma once

#include <datadog/dict_reader.h>
Expand Down
1 change: 1 addition & 0 deletions include/datadog/cerr_logger.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

#pragma once

// This component provides a class, `CerrLogger`, that implements the `Logger`
Expand Down
1 change: 1 addition & 0 deletions include/datadog/clock.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

#pragma once

// This component provides wrappers around some `std::chrono` vocabulary types:
Expand Down
1 change: 1 addition & 0 deletions include/datadog/collector.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

#pragma once

// This component provides an interface, `Collector`, to which spans of
Expand Down
1 change: 1 addition & 0 deletions include/datadog/config.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

#pragma once

#include "error.h"
Expand Down
1 change: 1 addition & 0 deletions include/datadog/datadog_agent_config.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

#pragma once

// This component provides facilities for configuring a `DatadogAgent`.
Expand Down
1 change: 1 addition & 0 deletions include/datadog/dict_reader.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

#pragma once

// This component provides an interface, `DictReader`, that represents a
Expand Down
1 change: 1 addition & 0 deletions include/datadog/dict_writer.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

#pragma once

// This component provides an interface, `DictWriter`, that represents a
Expand Down
1 change: 1 addition & 0 deletions include/datadog/environment.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

#pragma once

// This component provides a registry of all environment variables that can be
Expand Down
1 change: 1 addition & 0 deletions include/datadog/error.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

#pragma once

// This component provides a `struct`, `Error`, that represents a particular
Expand Down
1 change: 1 addition & 0 deletions include/datadog/event_scheduler.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

#pragma once

// This component provides an interface, `EventScheduler`, that allows a
Expand Down
1 change: 1 addition & 0 deletions include/datadog/expected.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

#pragma once

// This component provides a class template, `Expected<T>`, that is either an
Expand Down
1 change: 1 addition & 0 deletions include/datadog/http_client.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

#pragma once

// This component provides an interface, `HTTPClient`, that represents an
Expand Down
1 change: 1 addition & 0 deletions include/datadog/id_generator.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

#pragma once

// This component provides facilities for generating sequences of IDs used as
Expand Down
1 change: 1 addition & 0 deletions include/datadog/injection_options.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

#pragma once

// This component provides a `struct InjectionOptions` containing optional
Expand Down
1 change: 1 addition & 0 deletions include/datadog/logger.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

#pragma once

// This component provides an interface, `Logger`, that allows for the
Expand Down