Skip to content
Codacy Production / Codacy Static Code Analysis required action Aug 23, 2024 in 0s

9 new issues (0 max.) of at least minor severity.

Annotations

Check failure on line 72 in discourse-export-script/discourse_download.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

discourse-export-script/discourse_download.py#L72

Method '_starttag_handler' should have "self" as first argument

Check warning on line 193 in discourse-export-script/discourse_download.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

discourse-export-script/discourse_download.py#L193

Unused variable 'topic_id'

Check warning on line 200 in discourse-export-script/discourse_download.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

discourse-export-script/discourse_download.py#L200

Using open without explicitly specifying an encoding

Check warning on line 27 in discourse-export-script/github_upload.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

discourse-export-script/github_upload.py#L27

Using open without explicitly specifying an encoding

Check notice on line 31 in discourse-export-script/github_upload.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

discourse-export-script/github_upload.py#L31

Consider using a set comprehension

Check notice on line 31 in discourse-export-script/github_upload.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

discourse-export-script/github_upload.py#L31

Unnecessary use of a comprehension, use list(findall(f'{POST_LINK_ID}/([A-Za-z0-9\\-]*?)\\\\"', file.read())) instead.

Check warning on line 44 in discourse-export-script/github_upload.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

discourse-export-script/github_upload.py#L44

Using open without explicitly specifying an encoding

Check warning on line 50 in discourse-export-script/github_upload.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

discourse-export-script/github_upload.py#L50

Using open without explicitly specifying an encoding

Check warning on line 54 in discourse-export-script/github_upload.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

discourse-export-script/github_upload.py#L54

Using open without explicitly specifying an encoding