nedbat / cog

Small bits of Python computation for static files
MIT License
340 stars 26 forks source link

refactor: add ruff linting & fix initial violations #34

Closed vergenzt closed 4 months ago

vergenzt commented 4 months ago

Re: #32

Leaving out the .git-blame-ignore-revs update until we have the final commit hash rebased onto main.

nedbat commented 4 months ago

Thanks, you've cleaned up some ugly stuff I wrote: if type(d[fname]) == type({}): yikes!