forked from Qiskit/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor of
Pkg
to add a package type (Qiskit#775)
Part of Qiskit#316 This PR replaces the `historical` attribute of the class `Pkg` for an attribute named `type` which will allow us to know if the package version is the latest one or the historical one. This small refactor is convenient to avoid having a bunch of boolean attributes when the version types `dev` and `stable` are introduced. Different version types will have different behaviors in our API generation script like a custom path (e.g. numerical subfolder or `dev` subfolder).
- Loading branch information
1 parent
6e68526
commit bb4b416
Showing
3 changed files
with
25 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters