Skip to content

just don't close db connection like recommanded by apsw

GitHub Advanced Security / pylint succeeded Feb 19, 2025 in 5s

8 new alerts

New alerts in code changed by this pull request

  • 8 warnings

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 532 in counterparty-core/counterpartycore/lib/api/apiserver.py

See this annotation in the file changed.

Code scanning / pylint

Consider using 'sys.exit' instead. Warning

Consider using 'sys.exit' instead.

Check warning on line 14 in counterparty-core/counterpartycore/lib/cli/server.py

See this annotation in the file changed.

Code scanning / pylint

Unable to import 'apsw'. Warning

Unable to import 'apsw'.

Check warning on line 644 in counterparty-core/counterpartycore/lib/cli/server.py

See this annotation in the file changed.

Code scanning / pylint

Use lazy % or .format() formatting in logging functions. Warning

Use lazy % or .format() formatting in logging functions.

Check warning on line 644 in counterparty-core/counterpartycore/lib/cli/server.py

See this annotation in the file changed.

Code scanning / pylint

Formatting a regular string which could be an f-string. Warning

Formatting a regular string which could be an f-string.

Check warning on line 662 in counterparty-core/counterpartycore/lib/cli/server.py

See this annotation in the file changed.

Code scanning / pylint

Too many instance attributes (12/7). Warning

Too many instance attributes (12/7).

Check warning on line 678 in counterparty-core/counterpartycore/lib/cli/server.py

See this annotation in the file changed.

Code scanning / pylint

Filter out default values #TODO: these should be set in a different way. Warning

Filter out default values #TODO: these should be set in a different way.

Check warning on line 804 in counterparty-core/counterpartycore/lib/cli/server.py

See this annotation in the file changed.

Code scanning / pylint

Catching too general exception Exception. Warning

Catching too general exception Exception.

Check warning on line 260 in counterparty-core/counterpartycore/lib/parser/follow.py

See this annotation in the file changed.

Code scanning / pylint

Boolean condition "True and not self.stop_event.is_set()" may be simplified to "not self.stop_event.is_set()". Warning

Boolean condition "True and not self.stop_event.is_set()" may be simplified to "not self.stop_event.is_set()".