gilch / hissp

It's Python with a Lissp.
https://gitter.im/hissp-lang/community
Apache License 2.0
387 stars 11 forks source link

Formatting #145

Closed gilch closed 2 years ago

gilch commented 2 years ago

Prereq for #137.

Blackened Python source files with some manual refactoring to make it look better in black. Added comments to turn off the formatter for Readerless-Mode Hissp, and in a few other cases where I thought manual formatting was worth it. Added a workflow to enforce Black style. Added black badge. Adopted R"not-regex" vs r"regex" convention.

codecov[bot] commented 2 years ago

Codecov Report

Merging #145 (dc52a5e) into master (5a8689c) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #145   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         5           
  Lines          658       659    +1     
  Branches       102       102           
=========================================
+ Hits           658       659    +1     
Impacted Files Coverage Δ
src/hissp/compiler.py 100.00% <100.00%> (ø)
src/hissp/munger.py 100.00% <100.00%> (ø)
src/hissp/reader.py 100.00% <100.00%> (ø)
src/hissp/repl.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5a8689c...dc52a5e. Read the comment docs.

gilch commented 2 years ago

I'm also updating copyright and license notices. I'm not sure what to do with all the config files that need to be in the repo. I didn't exactly write some of these auto-generated ones. I don't want to claim what I don't own, but GitHub collaboration requires forking of repos, and I don't want to deny permission for that either. IANAL.