Skip to content

chore: better error log

bed3231
Select commit
Loading
Failed to load commit list.
Merged

Headless auth #1216

chore: better error log
bed3231
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action May 20, 2026 in 0s

3 new issues (0 max.) of at least severity.

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

Issues
======
- Added 3
           

Complexity increasing per file
==============================
- psa_car_controller/psacc/repository/db.py  4
- psa_car_controller/web/view/views.py  2
- psa_car_controller/web/tools/utils.py  1
- psa_car_controller/psacc/model/charge.py  1
- psa_car_controller/web/view/config_views.py  3
- psa_car_controller/common/utils.py  1
- psa_car_controller/psacc/repository/config_repository.py  2
- psa_car_controller/web/app.py  4
- psa_car_controller/psacc/application/ecomix.py  2
- psa_car_controller/psacc/repository/trips.py  1
- psa_car_controller/psa/oauth.py  3
- psa_car_controller/psa/setup/headless_oauth.py  23
         

Complexity decreasing per file
==============================
+ psa_car_controller/web/dash_custom.py  -1
         

See the complete overview on Codacy

Annotations

Check warning on line 26 in Dockerfile

See this annotation in the file changed.

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

Dockerfile#L26

Pin versions in pip. Instead of `pip install <package>` use `pip install <package>==<version>` or `pip install --requirement <requirements file>`

Check failure on line 12 in psa_car_controller/psa/setup/headless_oauth.py

See this annotation in the file changed.

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

psa_car_controller/psa/setup/headless_oauth.py#L12

Possible hardcoded password (password)

Check warning on line 54 in psa_car_controller/psa/setup/headless_oauth.py

See this annotation in the file changed.

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

psa_car_controller/psa/setup/headless_oauth.py#L54

Try, Except, Pass detected.