-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Adding the support of python packages to streamline the commit & PR flow #37
Conversation
… linter and black -- motivation taken from jobflow package developed by Alex Ganose
@idocx , most of the tests are failing mainly because of the two reasons:
I'm working on fixing them. |
Added a |
Add the support of |
@hrushikesh-s hmmm this is really wired. |
@idocx, so apparently, even after pulling in your changes, my local branch still hasn't updated itself. |
@@ -4,8 +4,9 @@ | |||
from bson import ObjectId | |||
|
|||
from alab_management import BaseTask | |||
from tests.fake_lab.devices.furnace import Furnace | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hrushikesh-s It should be this line that causes issues. Change it to
from .devices.furnace import Furnace
so that it will not run add_device
twice
@idocx, most of the
I'm trying to fix them now. |
Looks pretty good! Probably we can fix the CI flow in the other PR. 👍 |
Adding the support of
pre-commit
,flake8
,mypy
,coverage report
,ruff linter
andblack
-- motivation taken from jobflow package developed by Alex Ganose to improve the code quality, consistency, and reliability. The file that takes care of this is.pre-commit-config.yaml
Also, adding the support of pyproject.toml, which is the standard way for managing dependencies in projects with
>= Python 3.6
. This means that we can safely removerequirements.txt
,requirements-dev.txt
&setup.py
from the repository.