ahodges9 / LedFx

LedFx is a network based LED effect controller with support for advanced real-time audio effects! LedFx can control multiple devices and works great with cheap ESP8266 nodes allowing for cost effectvice syncronized effects across your entire house!
MIT License
384 stars 91 forks source link

Add pre-commit-config, isort, flake8, black #178

Closed THATDONFC closed 3 years ago

THATDONFC commented 3 years ago

https://pre-commit.com/

shauneccles commented 3 years ago

That looks awesome, good work.

THATDONFC commented 3 years ago

In these latest commits I have done the following:

THATDONFC commented 3 years ago

I'm having some second thoughts about the new Dockerfile. Yeon changed the Dockerfile a bit in #179. Should the Dockerfile build LedFx from the latest dev branch on github or from the users local repository? I changed it to build from the local copy of the repository but now I'm not so sure that's what we want.

shauneccles commented 3 years ago

My thoughts are that for most people starting off playing with the branch they will git clone the whole repo.

That would mean the repo becomes their copy and they can alter it as they want.

I'm not sure if adding an extra step if they don't have a local copy already is worth it.

Any way of adding an argument if they want a custom directory as the docker file LedFx base directory?

Would make sense that if you git clone LedFx that it comes with the source included and the docker file works on the source included.