Skip to content
Snippets Groups Projects
  1. Aug 21, 2024
    • Marc Troelitzsch's avatar
    • Marc Troelitzsch's avatar
      refactor!: Use f-strings for string formatting · 658d5829
      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.
      658d5829
    • Marc Troelitzsch's avatar
      refactor: Update some outdated syntax · 6eb48c47
      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.
      6eb48c47
  2. Aug 08, 2024
  3. Jan 27, 2024
  4. Feb 16, 2023
  5. Oct 05, 2019
  6. Aug 02, 2019
  7. Dec 02, 2016
  8. May 09, 2016
  9. Nov 17, 2015
    • Hugo's avatar
      Typos · 525b9ca3
      Hugo authored
      525b9ca3
  10. Aug 12, 2015
  11. Aug 18, 2014
    • Dan Michael O. Heggø's avatar
      [#45] replace http.py with the Requests library · 593cb44c
      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
      593cb44c
  12. Jun 15, 2014
Loading