Skip to content

Commit eea5d31

Browse files
committed
Move __version__ before import
PEP 8 says: > Module level “dunders” (i.e. names with two leading and two trailing > underscores) such as `__all__`, `__author__`, `__version__`, etc. should > be placed after the module docstring but before any import statements > except `from __future__` imports. https://peps.python.org/pep-0008/#module-level-dunder-names
1 parent e08194f commit eea5d31

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

hsluv.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@
55
haxe -cp haxe/src hsluv.Hsluv -python hsluv.py
66
"""
77

8+
__version__ = '5.0.3'
9+
810
from functools import wraps as _wraps, partial as _partial # unexport, see #17
911
import math as _math # unexport, see #17
1012

11-
12-
__version__ = '5.0.3'
13-
1413
_m = [[3.240969941904521, -1.537383177570093, -0.498610760293],
1514
[-0.96924363628087, 1.87596750150772, 0.041555057407175],
1615
[0.055630079696993, -0.20397695888897, 1.056971514242878]]

0 commit comments

Comments
 (0)