Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish-python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, "3.10", "3.11"]
python-version: [3.9, "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
# Flake8: complexity and style checking
# https://flake8.pycqa.org/en/latest/user/using-hooks.html
- repo: https://github.com/pycqa/flake8
rev: 5.0.4
rev: 6.1.0
hooks:
- id: flake8
additional_dependencies: [flake8-docstrings]
Expand Down Expand Up @@ -80,11 +80,11 @@ repos:

# requirements-ml.txt
scikit-learn>=0.23.2,
'keras>=2.4.3,<=3.4.0',
'keras>=3.0.0,<=3.4.0',
rapidfuzz>=2.6.1,
"tensorflow>=2.6.4,<2.15.0; sys.platform != 'darwin'",
"tensorflow>=2.6.4,<2.15.0; sys_platform == 'darwin' and platform_machine != 'arm64'",
"tensorflow-macos>=2.6.4,<2.15.0; sys_platform == 'darwin' and platform_machine == 'arm64'",
"tensorflow>=2.16.0; sys.platform != 'darwin'",
"tensorflow>=2.16.0; sys_platform == 'darwin' and platform_machine != 'arm64'",
"tensorflow-macos>=2.16.0; sys_platform == 'darwin' and platform_machine == 'arm64'",
tqdm>=4.0.0,

# requirements-reports.txt
Expand Down
2 changes: 1 addition & 1 deletion dataprofiler/labelers/base_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def __eq__(self, other: object) -> bool:
:return: Whether or not self and other are equal
:rtype: bool
"""
if (
if ( # noqa E721
type(self) != type(other)
or not isinstance(other, BaseModel)
or self._parameters != other._parameters
Expand Down
4 changes: 2 additions & 2 deletions dataprofiler/labelers/data_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def __eq__(self, other: object) -> bool:
:return: Whether or not self and other are equal
:rtype: bool
"""
if (
if ( # noqa E721
type(self) != type(other)
or not isinstance(other, BaseDataProcessor)
or self._parameters != other._parameters
Expand Down Expand Up @@ -1589,7 +1589,7 @@ def __eq__(self, other: object) -> bool:
:return: Whether or not self and other are equal
:rtype: bool
"""
if (
if ( # noqa E721
type(self) != type(other)
or not isinstance(other, StructCharPostprocessor)
or self._parameters["default_label"] != other._parameters["default_label"]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py39, py310, py311, pypi-description, manifest, precom
envlist = py39, py310, py311, py312, pypi-description, manifest, precom


[testenv]
Expand Down
Loading