Skip to content

Commit

Permalink
refactor: remove PY2 suport
Browse files Browse the repository at this point in the history
  • Loading branch information
leonelcamara committed Sep 10, 2024
1 parent b6983c2 commit 68859d6
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 1,004 deletions.
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# hotxlfp changelog

## 1.0.0

*DROPPED PYTHON 2 SUPPORT* hence the bump to 1.0.0 which reflects the breaking change and the project growing maturity.

* Support for LEFT, RIGHT, MID (Thanks João Grazina)
* Partial support for TEXT (Thanks Rodrigo Patrão)

## 0.0.16

* Fixed SWITCH formula returning N/A when the default value was "falsy" (like 0)
Expand Down
16 changes: 3 additions & 13 deletions hotxlfp/_compat/__init__.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
# -*- coding: utf-8 -*-
import sys

PY2 = sys.version_info[0] == 2

if PY2:
from .py3 import statistics
number_types = (int, long, float, complex)
integer_types = (int, long)
string_types = (str, unicode)
else:
import statistics
number_types = (int, float, complex)
integer_types = (int,)
string_types = (str,)
number_types = (int, float, complex)
integer_types = (int,)
string_types = (str,)
Empty file removed hotxlfp/_compat/py3/__init__.py
Empty file.
Loading

0 comments on commit 68859d6

Please sign in to comment.