summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/milestones.py
Commit message (Collapse)AuthorAgeFilesLines
* chore: add type-hints to gitlab/v4/objects/milestones.pyJohn L. Villalovos2021-11-211-4/+22
|
* refactor: use new-style formatting for named placeholdersNejc Habjan2021-11-081-2/+2
|
* chore: enforce type-hints on most files in gitlab/v4/objects/jlvillal/mypy_small_files_1John L. Villalovos2021-11-081-1/+3
| | | | | | | * Add type-hints to some of the files in gitlab/v4/objects/ * Fix issues detected when adding type-hints * Changed mypy exclusion to explicitly list the 13 files that have not yet had type-hints added.
* refactor: use f-strings for string formattingNejc Habjan2021-11-051-4/+4
|
* feat(api): add project milestone promotionRaimund Hook2021-10-271-2/+3
| | | | | | Adds promotion to Project Milestones Signed-off-by: Raimund Hook <raimund.hook@exfo.com>
* chore: fix import ordering using isortJohn L. Villalovos2021-05-251-3/+4
| | | | | | Fix the import ordering using isort. https://pycqa.github.io/isort/
* fix(objects): allow lists for filters for in all objectsfix/missing-list-attributesNejc Habjan2021-04-271-1/+3
|
* chore: fix F401 errors reported by flake8John L. Villalovos2021-04-181-1/+0
| | | | | | F401: Module imported but unused https://www.flake8rules.com/rules/F401.html
* chore: have _create_attrs & _update_attrs be a namedtupleJohn L. Villalovos2021-04-171-11/+11
| | | | | | Convert _create_attrs and _update_attrs to use a NamedTuple (RequiredOptional) to help with code readability. Update all code to use the NamedTuple.
* chore: remove usage of 'from ... import *'John L. Villalovos2021-02-231-2/+2
| | | | | | | | | | | | | | | | | | In gitlab/v4/objects/*.py remove usage of: * from gitlab.base import * * from gitlab.mixins import * Change them to: * from gitlab.base import CLASS_NAME * from gitlab.mixins import CLASS_NAME Programmatically update code to explicitly import needed classes only. After the change the output of: $ flake8 gitlab/v4/objects/*py | grep 'REST\|Mixin' Is empty. Before many messages about unable to determine if it was a valid name.
* refactor(api): explicitly export classes for star importsrefactor/split-objectsNejc Habjan2021-02-071-1/+9
|
* refactor(v4): split objects and managers per API resourceNejc Habjan2021-02-071-0/+154