desy-ml / cheetah

Fast and differentiable particle accelerator optics simulation for reinforcement learning and optimisation applications.
https://cheetah-accelerator.readthedocs.io
GNU General Public License v3.0
28 stars 13 forks source link

Add flake8 linting #27

Closed cr-xu closed 1 year ago

cr-xu commented 1 year ago

Add flake8 check in CI/CD and pre-commit configuration. Modified some files to pass the pipeline.