Skip to content

Commit 24cfd47

Browse files
committed
rel 2024 update dependencies
1 parent b251f67 commit 24cfd47

File tree

6 files changed

+79
-141
lines changed

6 files changed

+79
-141
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All major and minor version changes will be documented in this file. Details of
44
patch-level version changes can be found in [commit messages](../../commits/master).
55

6+
## 2024 - 2024/01/07
7+
8+
- update dependencies
9+
610
## 2023 - 2023/08/31
711

812
- Update deps

documentation/reference/colourswatch/GimpGplPalette.md

+7-14
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ Pure python implementation of the gimp gpl palette format.
2525

2626
```python
2727
class GimpGplPalette:
28-
def __init__(self, fileName: BytesIO | str | None = None):
29-
...
28+
def __init__(self, fileName: BytesIO | str | None = None): ...
3029
```
3130

3231
### GimpGplPalette().__eq__
@@ -38,8 +37,7 @@ Perform a comparison.
3837
#### Signature
3938

4039
```python
41-
def __eq__(self, other: GimpGplPalette):
42-
...
40+
def __eq__(self, other: GimpGplPalette): ...
4341
```
4442

4543
### GimpGplPalette().__repr__
@@ -51,8 +49,7 @@ Get a textual representation of this object.
5149
#### Signature
5250

5351
```python
54-
def __repr__(self):
55-
...
52+
def __repr__(self): ...
5653
```
5754

5855
### GimpGplPalette().decode
@@ -72,8 +69,7 @@ Decode a byte buffer.
7269
#### Signature
7370

7471
```python
75-
def decode(self, data: str) -> None:
76-
...
72+
def decode(self, data: str) -> None: ...
7773
```
7874

7975
### GimpGplPalette().encode
@@ -85,8 +81,7 @@ Encode to a raw data stream.
8581
#### Signature
8682

8783
```python
88-
def encode(self):
89-
...
84+
def encode(self): ...
9085
```
9186

9287
### GimpGplPalette().load
@@ -102,8 +97,7 @@ Load a gimp file.
10297
#### Signature
10398

10499
```python
105-
def load(self, fileName: BytesIO | str):
106-
...
100+
def load(self, fileName: BytesIO | str): ...
107101
```
108102

109103
### GimpGplPalette().save
@@ -115,6 +109,5 @@ Save this gimp image to a file.
115109
#### Signature
116110

117111
```python
118-
def save(self, fileName: str | BytesIO):
119-
...
112+
def save(self, fileName: str | BytesIO): ...
120113
```

documentation/reference/colourswatch/colourswatch.md

+17-34
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ class Colour:
4141
colour: ColorBase | None = None,
4242
nameNull: bool = False,
4343
alpha: float = 1.0,
44-
):
45-
...
44+
): ...
4645
```
4746

4847
### Colour().__eq__
@@ -54,8 +53,7 @@ equals
5453
#### Signature
5554

5655
```python
57-
def __eq__(self, other: Colour) -> bool:
58-
...
56+
def __eq__(self, other: Colour) -> bool: ...
5957
```
6058

6159
### Colour().__repr__
@@ -67,8 +65,7 @@ get a string representation of the object
6765
#### Signature
6866

6967
```python
70-
def __repr__(self):
71-
...
68+
def __repr__(self): ...
7269
```
7370

7471
### Colour().colorToTuple
@@ -80,8 +77,7 @@ get the colour as a tuple. eg. sRGBColor -> (r, g, b)
8077
#### Signature
8178

8279
```python
83-
def colorToTuple(self) -> tuple[float, ...]:
84-
...
80+
def colorToTuple(self) -> tuple[float, ...]: ...
8581
```
8682

8783
### Colour().convertedColourToHexTuple
@@ -102,8 +98,7 @@ sRGBColor -> ("ff", "ff", "ff")
10298
#### Signature
10399

104100
```python
105-
def convertedColourToHexTuple(self, uppercase: bool = False) -> tuple[str, ...]:
106-
...
101+
def convertedColourToHexTuple(self, uppercase: bool = False) -> tuple[str, ...]: ...
107102
```
108103

109104
### Colour().convertedColourToTuple
@@ -116,8 +111,7 @@ sRGBColor -> (r, g, b)
116111
#### Signature
117112

118113
```python
119-
def convertedColourToTuple(self) -> tuple[float, ...]:
120-
...
114+
def convertedColourToTuple(self) -> tuple[float, ...]: ...
121115
```
122116

123117
### Colour().getRGB255
@@ -129,8 +123,7 @@ get the colour as an rgb 255 tuple
129123
#### Signature
130124

131125
```python
132-
def getRGB255(self) -> tuple[int, ...]:
133-
...
126+
def getRGB255(self) -> tuple[int, ...]: ...
134127
```
135128

136129
### Colour().getRGB255Hex
@@ -142,8 +135,7 @@ get the colour as an rgb 255 tuple in hex
142135
#### Signature
143136

144137
```python
145-
def getRGB255Hex(self, uppercase: bool = False) -> tuple[str, ...]:
146-
...
138+
def getRGB255Hex(self, uppercase: bool = False) -> tuple[str, ...]: ...
147139
```
148140

149141
### Colour().toCMYK
@@ -155,8 +147,7 @@ convert to cmyk and dump a copy in self.convertedColour
155147
#### Signature
156148

157149
```python
158-
def toCMYK(self) -> CMYKColor:
159-
...
150+
def toCMYK(self) -> CMYKColor: ...
160151
```
161152

162153
### Colour().toHSL
@@ -168,8 +159,7 @@ convert to hsl and dump a copy in self.convertedColour
168159
#### Signature
169160

170161
```python
171-
def toHSL(self) -> HSLColor:
172-
...
162+
def toHSL(self) -> HSLColor: ...
173163
```
174164

175165
### Colour().toHSV
@@ -181,8 +171,7 @@ convert to hsv and dump a copy in self.convertedColour
181171
#### Signature
182172

183173
```python
184-
def toHSV(self) -> HSVColor:
185-
...
174+
def toHSV(self) -> HSVColor: ...
186175
```
187176

188177
### Colour().toLAB
@@ -194,8 +183,7 @@ convert to lab and dump a copy in self.convertedColour
194183
#### Signature
195184

196185
```python
197-
def toLAB(self) -> LabColor:
198-
...
186+
def toLAB(self) -> LabColor: ...
199187
```
200188

201189
### Colour().toRGB
@@ -207,8 +195,7 @@ convert to rgb and dump a copy in self.convertedColour
207195
#### Signature
208196

209197
```python
210-
def toRGB(self) -> sRGBColor:
211-
...
198+
def toRGB(self) -> sRGBColor: ...
212199
```
213200

214201

@@ -231,8 +218,7 @@ class ColourSwatch:
231218
description: str | None = None,
232219
swatchCopyright: str | None = None,
233220
author: str | None = None,
234-
):
235-
...
221+
): ...
236222
```
237223

238224
### ColourSwatch().__eq__
@@ -244,8 +230,7 @@ probably not ideal for getting equality - avoid using ==
244230
#### Signature
245231

246232
```python
247-
def __eq__(self, other: ColourSwatch):
248-
...
233+
def __eq__(self, other: ColourSwatch): ...
249234
```
250235

251236
### ColourSwatch().__repr__
@@ -257,8 +242,7 @@ get a string representation of the object
257242
#### Signature
258243

259244
```python
260-
def __repr__(self) -> str:
261-
...
245+
def __repr__(self) -> str: ...
262246
```
263247

264248
### ColourSwatch().toPILPalette
@@ -277,6 +261,5 @@ image.putpalette(colourSwatch.toPILPalette())
277261
#### Signature
278262

279263
```python
280-
def toPILPalette(self) -> list[int]:
281-
...
264+
def toPILPalette(self) -> list[int]: ...
282265
```

0 commit comments

Comments
 (0)