Github Actions CI #130
SagiPolaczek
announced in
Announcements
Replies: 1 comment 1 reply
-
@mosheraboh @michalozeryflato @YoelShoshan @alex-golts @itaijj @liamhazan @egozi |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey Fusers 👋 🔬
We now support Github actions CI - meaning each PR will have to pass additional tests focusing on style and format to ensure uniform code style in Fuse.
For your convenience here is a quick recap:
We use the following three tools:
black
,flake8
andmypy
.black
Enforces code style and format. We use the standard style guideline with a minor change: we restrict lines' lengths to be 120 (instead of 88).
To check if file / directory suit the code style guidelines and see the changes
black
will make:To apply the changes:
flake8
Checks code style (similar to black) and detects various issues not covered by black.
usage:
TIP : If
flake8
gives you a lot of error messages, useblack
's formatter might solve most of them. The rest should be done manually.mypy
Enforces the usage of type annotations for functions input arguments and return values only, but not the correctness of them. For examples:
You are welcome to ask questions and raise issues in the discussion thread below.
Happy Fusing 🔬
Beta Was this translation helpful? Give feedback.
All reactions