Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | docs: use annotations for return typesdocs/sphinx-annotations | Nejc Habjan | 2021-12-01 | 1 | -4/+4 |
| | |||||
* | docs: only use type annotations for documentation | Nejc Habjan | 2021-11-28 | 1 | -19/+19 |
| | |||||
* | chore: add type-hints to gitlab/v4/objects/files.pyjlvillal/mypy_epics | John L. Villalovos | 2021-11-21 | 1 | -12/+58 |
| | |||||
* | refactor: use new-style formatting for named placeholders | Nejc Habjan | 2021-11-08 | 1 | -1/+1 |
| | |||||
* | refactor: use f-strings for string formatting | Nejc Habjan | 2021-11-05 | 1 | -5/+5 |
| | |||||
* | chore: fix import ordering using isort | John L. Villalovos | 2021-05-25 | 1 | -2/+3 |
| | | | | | | Fix the import ordering using isort. https://pycqa.github.io/isort/ | ||||
* | fix(files): do not url-encode file paths twice | Nejc Habjan | 2021-04-26 | 1 | -1/+0 |
| | |||||
* | fix: correct ProjectFile.decode() documentation | John L. Villalovos | 2021-04-22 | 1 | -2/+2 |
| | | | | | | | | | | | | | | ProjectFile.decode() returns 'bytes' and not 'str'. Update the method's doc-string and add a type-hint. ProjectFile.decode() returns the result of a call to base64.b64decode() The docs for that function state it returns 'bytes': https://docs.python.org/3/library/base64.html#base64.b64decode Fixes: #1403 | ||||
* | chore: have _create_attrs & _update_attrs be a namedtuple | John L. Villalovos | 2021-04-17 | 1 | -7/+7 |
| | | | | | | 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. Villalovos | 2021-02-23 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | | | | 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-objects | Nejc Habjan | 2021-02-07 | 1 | -2/+7 |
| | |||||
* | refactor(v4): split objects and managers per API resource | Nejc Habjan | 2021-02-07 | 1 | -0/+216 |