Skip to content
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

feat: add contract type #245

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

antoinekh
Copy link
Contributor

Hello everyone,

Related to #225.

Add contract type model, the aim is to have a generic model to be able to specify the contract type.
This will help to differentiate contracts.
Some examples idea: support, premium support, hardware, 24/7_support, 4h_support, master_contract...

The contract type will then be visible on the target.
The colour field is visible on every target.
This will help to manage when we have a lot of contracts

Ruff check OK
Tests OK

Let me know what you think

Best regards,
Antoine

@antoinekh
Copy link
Contributor Author

I only do tests on the contract type, I will probably add some extra tests directly on the `ContractTestCase'.

Copy link
Owner

@mlebreuil mlebreuil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@antoinekh, thanks for this valuable addition !
Small comment: many formatting changes are mixed with relevant changes.
Could these be removed ?
I am open to defining additional formatting guidelines. But we should be on the same page to avoid mixing formatting and fonctionnal changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants