Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test(api): fix current user mail count in newer gitlabfeat/topics | Nejc Habjan | 2021-12-11 | 1 | -2/+2 |
| | |||||
* | chore(api): temporarily remove topic delete endpoint | Nejc Habjan | 2021-12-11 | 5 | -33/+3 |
| | | | | It is not yet available upstream. | ||||
* | chore: fix renovate setup for gitlab docker image | Nejc Habjan | 2021-12-11 | 1 | -1/+1 |
| | |||||
* | feat(api): add support for Topics API | Nejc Habjan | 2021-12-11 | 9 | -1/+222 |
| | |||||
* | Merge pull request #1733 from simonisateur/fix-package-file-delete | Nejc Habjan | 2021-12-10 | 3 | -3/+36 |
|\ | | | | | feat: package file delete on package file object | ||||
| * | feat: add delete on package_file object | Simon Hébert-Deschamps | 2021-12-09 | 3 | -3/+36 |
|/ | |||||
* | Merge pull request #1736 from python-gitlab/jlvillal/workflow | Nejc Habjan | 2021-12-08 | 4 | -0/+24 |
|\ | | | | | chore: github workflow: cancel prior running jobs on new push | ||||
| * | chore: github workflow: cancel prior running jobs on new push | John L. Villalovos | 2021-12-07 | 4 | -0/+24 |
|/ | | | | | If new new push is done to a pull-request, then cancel any already running github workflow jobs in order to conserve resources. | ||||
* | Merge pull request #1726 from python-gitlab/jlvillal/windows | Nejc Habjan | 2021-12-08 | 2 | -13/+23 |
|\ | | | | | chore: add running unit tests on windows/macos | ||||
| * | chore: add running unit tests on windows/macos | John L. Villalovos | 2021-12-07 | 2 | -13/+23 |
| | | | | | | | | | | Add running the unit tests on windows-latest and macos-latest with Python 3.10. | ||||
* | | Merge pull request #1738 from python-gitlab/jlvillal/pylint_fixes | Nejc Habjan | 2021-12-08 | 2 | -29/+20 |
|\ \ | |/ |/| | chore: fix pylint error "expression-not-assigned" | ||||
| * | chore: fix pylint error "expression-not-assigned" | John L. Villalovos | 2021-12-07 | 2 | -29/+20 |
|/ | | | | | | | | Fix pylint error "expression-not-assigned" and remove check from the disabled list. And I personally think it is much more readable now and is less lines of code. | ||||
* | Merge pull request #1729 from python-gitlab/jlvillal/pylint | Nejc Habjan | 2021-12-08 | 8 | -21/+130 |
|\ | | | | | chore: add initial pylint check | ||||
| * | chore: set pre-commit mypy args to empty list | John L. Villalovos | 2021-12-07 | 1 | -0/+1 |
| | | | | | | | | | | | | | | https://github.com/pre-commit/mirrors-mypy/blob/master/.pre-commit-hooks.yaml Sets some default args which seem to be interfering with things. Plus we set all of our args in the `pyproject.toml` file. | ||||
| * | chore: run pre-commit on changes to the config file | John L. Villalovos | 2021-12-07 | 1 | -0/+32 |
| | | | | | | | | | | If .pre-commit-config.yaml or .github/workflows/pre_commit.yml are updated then run pre-commit. | ||||
| * | chore: add initial pylint check | John L. Villalovos | 2021-12-07 | 7 | -21/+97 |
|/ | | | | | | Initial pylint check is added. A LONG list of disabled checks is also added. In the future we should work through the list and resolve the errors or disable them on a more granular level. | ||||
* | Merge pull request #1727 from python-gitlab/jlvillal/mypy_strict_two_steps | Nejc Habjan | 2021-12-07 | 2 | -2/+18 |
|\ | | | | | Enable more strict mypy checking | ||||
| * | chore: enable 'warn_redundant_casts' for mypyjlvillal/mypy_strict_two_steps | John L. Villalovos | 2021-12-05 | 2 | -2/+2 |
| | | | | | | | | Enable 'warn_redundant_casts'for mypy and resolve one issue. | ||||
| * | chore: enable subset of the 'mypy --strict' options that work | John L. Villalovos | 2021-12-05 | 1 | -1/+17 |
|/ | | | | | Enable the subset of the 'mypy --strict' options that work with no changes to the code. | ||||
* | chore(deps): update dependency black to v21.12b0 | Renovate Bot | 2021-12-05 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1709 from python-gitlab/docs/sphinx-annotations | Nejc Habjan | 2021-12-01 | 33 | -387/+382 |
|\ | | | | | docs: only use type annotations for documentation | ||||
| * | docs: use annotations for return typesdocs/sphinx-annotations | Nejc Habjan | 2021-12-01 | 26 | -101/+99 |
| | | |||||
| * | chore(docs): link to main, not master | Nejc Habjan | 2021-11-28 | 1 | -1/+1 |
| | | |||||
| * | chore(docs): use builtin autodoc hints | Nejc Habjan | 2021-11-28 | 2 | -2/+2 |
| | | |||||
| * | docs: only use type annotations for documentation | Nejc Habjan | 2021-11-28 | 26 | -287/+282 |
| | | |||||
| * | chore(docs): load autodoc-typehints module | Nejc Habjan | 2021-11-28 | 2 | -0/+2 |
| | | |||||
* | | Merge pull request #1702 from python-gitlab/jlvillal/attribute_help | Nejc Habjan | 2021-12-01 | 4 | -5/+71 |
|\ \ | | | | | | | chore: attempt to be more informative for missing attributes | ||||
| * | | chore: attempt to be more informative for missing attributesjlvillal/attribute_help | John L. Villalovos | 2021-11-30 | 4 | -5/+71 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A commonly reported issue from users on Gitter is that they get an AttributeError for an attribute that should be present. This is often caused due to the fact that they used the `list()` method to retrieve the object and objects retrieved this way often only have a subset of the full data. Add more details in the AttributeError message that explains the situation to users. This will hopefully allow them to resolve the issue. Update the FAQ in the docs to add a section discussing the issue. Closes #1138 | ||||
* | | Merge pull request #1694 from python-gitlab/jlvillal/const_explicit | Nejc Habjan | 2021-12-01 | 14 | -73/+140 |
|\ \ | |/ |/| | refactor: explicitly import gitlab.const values into top-level namespace | ||||
| * | docs: update docs to use gitlab.const for constantsjlvillal/const_explicit | John L. Villalovos | 2021-11-30 | 7 | -50/+50 |
| | | | | | | | | Update the docs to use gitlab.const to access constants. | ||||
| * | chore: use constants from gitlab.const module | John L. Villalovos | 2021-11-30 | 5 | -12/+13 |
| | | | | | | | | | | Have code use constants from the gitlab.const module instead of from the top-level gitlab module. | ||||
| * | refactor: deprecate accessing constants from top-level namespace | John L. Villalovos | 2021-11-30 | 3 | -17/+83 |
|/ | | | | | | | | | | | | | | We are planning on adding enumerated constants into gitlab/const.py, but if we do that than they will end up being added to the top-level gitlab namespace. We really want to get users to start using `gitlab.const.` to access the constant values in the future. Add the currently defined constants to a list that should not change. Use a module level __getattr__ function so that we can deprecate access to the top-level constants. Add a unit test which verifies we generate a warning when accessing the top-level constants. | ||||
* | Merge pull request #1721 from python-gitlab/test/cli-coverage | Nejc Habjan | 2021-11-28 | 15 | -34/+104 |
|\ | | | | | test(cli): improve basic CLI coverage | ||||
| * | chore(tests): apply review suggestions | Nejc Habjan | 2021-11-28 | 2 | -4/+4 |
| | | |||||
| * | test(cli): improve basic CLI coveragetest/cli-coverage | Nejc Habjan | 2021-11-27 | 15 | -33/+103 |
| | | |||||
* | | chore(deps): update dependency sphinx to v4.3.1 | Renovate Bot | 2021-11-27 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #1714 from python-gitlab/jlvillal/pytest_script_launch_mode | Nejc Habjan | 2021-11-27 | 1 | -4/+1 |
|\ \ | |/ |/| | chore: remove pytest-console-scripts specific config | ||||
| * | chore: remove pytest-console-scripts specific config | John L. Villalovos | 2021-11-27 | 1 | -4/+1 |
|/ | | | | | | | | | Remove the pytest-console-scripts specific config from the global '[pytest]' config section. Use the command line option `--script-launch-mode=subprocess` Closes #1713 | ||||
* | Merge pull request #1712 from StingRayZA/Epicnotes | Nejc Habjan | 2021-11-27 | 3 | -2/+96 |
|\ | | | | | feat(api): add support for epic notes | ||||
| * | feat(api): add support for epic notes | Raimund Hook | 2021-11-25 | 3 | -2/+96 |
| | | | | | | | | | | | | Added support for notes on group epics Signed-off-by: Raimund Hook <raimund.hook@exfo.com> | ||||
* | | Merge pull request #1718 from python-gitlab/jlvillal/project_groups | Nejc Habjan | 2021-11-27 | 3 | -0/+42 |
|\ \ | | | | | | | feat: add support for `projects.groups.list()` | ||||
| * | | feat: add support for `projects.groups.list()`jlvillal/project_groups | John L. Villalovos | 2021-11-26 | 3 | -0/+42 |
|/ / | | | | | | | | | | | Add support for `projects.groups.list()` endpoint. Closes #1717 | ||||
* | | chore(deps): update typing dependencies | Renovate Bot | 2021-11-26 | 2 | -4/+4 |
|/ | |||||
* | Merge pull request #1707 from python-gitlab/jlvillal/reduce_meta_tests | Nejc Habjan | 2021-11-24 | 2 | -22/+7 |
|\ | | | | | chore: remove duplicate/no-op tests from meta/test_ensure_type_hints | ||||
| * | chore: remove duplicate/no-op tests from meta/test_ensure_type_hints | John L. Villalovos | 2021-11-24 | 2 | -22/+7 |
|/ | | | | | | | | | | | | | | | | | | | | | | | Before we were generating 725 tests for the meta/test_ensure_type_hints.py tests. Which isn't a huge concern as it was fairly fast. But when we had a failure we would usually get two failures for each problem as the same test was being run multiple times. Changed it so that: 1. Don't add tests that are not for *Manager classes 2. Use a set so that we don't have duplicate tests. After doing that our generated test count in meta/test_ensure_type_hints.py went from 725 to 178 tests. Additionally removed the parsing of `pyproject.toml` to generate files to ignore as we have finished adding type-hints to all files in gitlab/v4/objects/. This also means we no longer use the toml library so remove installation of `types-toml`. To determine the test count the following command was run: $ tox -e py39 -- -k test_ensure_type_hints | ||||
* | Merge pull request #1695 from python-gitlab/jlvillal/mypy_epics | Nejc Habjan | 2021-11-23 | 13 | -90/+353 |
|\ | | | | | chore: add type-hints to remaining gitlab/v4/objects/*.py files | ||||
| * | chore: add type-hints to gitlab/v4/objects/files.pyjlvillal/mypy_epics | John L. Villalovos | 2021-11-21 | 2 | -13/+58 |
| | | |||||
| * | chore: add type-hints to gitlab/v4/objects/labels.py | John L. Villalovos | 2021-11-21 | 2 | -7/+37 |
| | | |||||
| * | chore: add type-hints to gitlab/v4/objects/sidekiq.py | John L. Villalovos | 2021-11-21 | 2 | -5/+12 |
| | | |||||
| * | chore: add type-hints to gitlab/v4/objects/services.py | John L. Villalovos | 2021-11-21 | 2 | -6/+15 |
| | |