• per1234's avatar
    [skip changelog] Sync "Check Python" CI workflow with template (#1393) · 7989a4ef
    per1234 authored
    * [skip changelog] Sync "Check Python" CI workflow with template
    
    We have assembled a collection of reusable project assets:
    https://github.com/arduino/tooling-project-assets
    These assets will be used in the repositories of all Arduino tooling projects.
    
    Some minor improvements and standardizations have been made in the upstream "template" assets, and those are
    introduced to this repository here.
    
    Notable:
    
    - Check for black formatting style compliance
    - Update tool dependencies
    - Standardize linting task name and deprecate old task name
    - Add cyclomatic complexity check
    - Add pep8-naming plugin to flake8
    
    * [skip changelog] Restore formatting compliance of Python code after black update
    
    After updating the black formatter tool, the new version wanted a small change in the Python formatting.
    
    * Remove obsolete Python linting task
    
    The sync with the template documentation assets has resulted in new standardized names for some of the tasks.
    
    The `python:check` task has been renamed to `python:lint`
    7989a4ef
test_core.py 30.9 KB