Skip to content

Move phonon-web-json exporter to separate file; implement --title

Codacy Production / Codacy Static Code Analysis required action Oct 14, 2024 in 0s

2 new issues (0 max.) of at least medium severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1
- Added 4
           

Complexity increasing per file
==============================
- euphonic/writers/phonon_website.py  3
- euphonic/cli/dispersion.py  1
         

See the complete overview on Codacy

Annotations

Check notice on line 88 in euphonic/spectra.py

See this annotation in the file changed.

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

euphonic/spectra.py#L88

Missing function or method docstring

Check warning on line 67 in euphonic/writers/phonon_website.py

See this annotation in the file changed.

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

euphonic/writers/phonon_website.py#L67

Using open without explicitly specifying an encoding

Check warning on line 128 in euphonic/writers/phonon_website.py

See this annotation in the file changed.

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

euphonic/writers/phonon_website.py#L128

Redefining built-in 'breakpoint'

Check notice on line 187 in euphonic/writers/phonon_website.py

See this annotation in the file changed.

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

euphonic/writers/phonon_website.py#L187

Unnecessary use of a comprehension, use list(pairwise(breakpoints)) instead.