JulianKemmerer / PipelineC

A C-like hardware description language (HDL) adding high level synthesis(HLS)-like automatic pipelining as a language construct/compiler feature.
https://github.com/JulianKemmerer/PipelineC/wiki
GNU General Public License v3.0
569 stars 46 forks source link

cleanup? #199

Closed zjcurtis closed 1 month ago

zjcurtis commented 1 month ago

This looks chaotic, it's the application of 5 simple rules.

https://docs.astral.sh/ruff/rules/

-- F541 f-string without any placeholders
-- E721 Do not compare types, use isinstance() -- E714 Test for object identity should be is not
-- E713 Test for membership should be not in -- E711 Comparison to None should be cond is None

JulianKemmerer commented 1 month ago

Ran some sanity checks like ./src/pipelinec ./examples/blink.c ./src/pipelinec ./examples/tool_tests/vivado.c

and its looking good :+1: just looking things over mostly