Andrew Murray
be73b13ad3
Added type hints
2024-06-12 21:15:55 +10:00
Andrew Murray
85818cd616
Added type hints to FontFile and subclasses
2023-12-27 12:27:21 +11:00
Hugo van Kemenade
43b2f61e79
Add 'from __future__ import annotations' using Ruff/isort
2023-12-21 13:13:31 +02:00
Hugo van Kemenade
0d1e83098d
Add pyupgrade to pre-commit
2023-09-25 16:45:38 +03:00
Andrew Murray
c799bd8a03
Adjusted variable names and comments to better match specification
2023-02-25 16:31:26 +02:00
Aarni Koskela
f52bbf8950
Clarify variable names in BdfFontFile
...
Co-authored-by: Yay295 <Yay295@users.noreply.github.com>
2023-02-24 09:58:51 +02:00
Hugo van Kemenade
2ae55ccbda
Improve exception traceback readability
2022-12-30 00:07:52 +02:00
nulano
d2f7e46c5d
convert comments into docstrings in autodoc files
2020-06-14 14:15:43 +02:00
Hugo van Kemenade
40133cfc74
Merge branch 'master' into rm-2.7
2019-10-26 09:07:44 +03:00
Jon Dufresne
cae17eb927
Use more Pythonic super() instead of referencing parent class
...
https://rhettinger.wordpress.com/2011/05/26/super-considered-super/
2019-10-22 06:54:58 -07:00
Hugo
538d9e2e5d
Upgrade Python syntax with pyupgrade --py3-plus
2019-10-07 14:30:59 +03:00
Jon Dufresne
d50445ff30
Introduce isort to automate import ordering and formatting
...
Similar to the recent adoption of Black. isort is a Python utility to
sort imports alphabetically and automatically separate into sections. By
using isort, contributors can quickly and automatically conform to the
projects style without thinking. Just let the tool do it.
Uses the configuration recommended by the Black to avoid conflicts of
style.
Rewrite TestImageQt.test_deprecated to no rely on import order.
2019-07-06 16:11:35 -07:00
Hugo
53a7e35004
Format with Black
2019-06-10 18:22:46 +03:00
Jon Dufresne
37f10651bd
Clean up commented out debug print statements
2018-09-04 20:02:42 -07:00
wiredfool
0bb3f4fee9
source layout reorg
2017-12-28 14:49:47 +00:00