- Aug 21, 2024
-
-
Marc Troelitzsch authored
-
Marc Troelitzsch authored
This commit refactors the codebase to consistently use Python 3.6 f-strings for string concatenation and interpolation. BREAKING CHANGE: This update increases the minimum required Python version from 3.5 to 3.6. Python 3.5 reached end-of-life in September 2020 (~4 years ago) and has been dropped from most distributions, so the impact on users should be minimal.
-
Marc Troelitzsch authored
This commit updates some outdated syntax with the modern alternatives. The changes were applied automatically using pyupgrade (v2.0.1) with the following command: ``` pyupgrade --py3-plus **/*.py ``` These updates are purely syntactical and there should be no change in functionality.
-
- Aug 08, 2024
-
-
Andrew Bogott authored
-
Andrew Bogott authored
writeapi is being removed Bug: T294397
-
- Jan 27, 2024
-
-
Alexandre Detiste authored
-
- Feb 16, 2023
-
-
Marc Troelitzsch authored
-
- Oct 05, 2019
-
-
RheingoldRiver authored
-
- Aug 02, 2019
-
-
Pyfisch authored
Closes #207
-
- Dec 02, 2016
-
-
Sébastien Santoro authored
Examples should adhere to PEP-8 guidelines, as these examples not only document how to use correctly the client, but also will serve as a first exposition to Python for some contributors. Reference: https://www.python.org/dev/peps/pep-0008/
-
- May 09, 2016
-
-
Waldir Pimenta authored
* make basic_edit.py and upload.py python-3 compatible
-
- Nov 17, 2015
-
-
Hugo authored
-
- Aug 12, 2015
-
-
Waldir Pimenta authored
See 90b87566 for context
-
- Aug 18, 2014
-
-
Dan Michael O. Heggø authored
- Note the following exception replacements: mwclient.errors.HTTPError -> requests.exceptions.ConnectionError mwclient.errors.HTTPStatusError -> requests.exceptions.HTTPError mwclient.errors.HTTPRedirectError -> requests.exceptions.TooManyRedirects - Removed the `compability.old_upload` method, which was used for MediaWiki < 1.16. - Requests automatically decompresses gzip-encoded responses, and does its best to decode response content to unicode when possible. - [#53] Using the Responses library to mock http requests in tests
-
- Jun 15, 2014
-
-
Dan Michael O. Heggø authored
- Keep automated tests to be run with py.test in './tests/' and examples in './examples/' - Rename test to adhere to 'Conventions for Python test discovery' (http://pytest.org/latest/goodpractises.html#test-discovery)
-