Skip to content

Commit

Permalink
Updated pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
alcides committed Nov 19, 2024
1 parent bbf866f commit 95c5c21
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 64 deletions.
13 changes: 11 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ repos:
rev: v2.5.0
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/asottile/add-trailing-comma
rev: v3.1.0
hooks:
- id: add-trailing-comma
args: [--py36-plus]
- repo: https://github.com/PyCQA/docformatter
rev: v1.7.5
hooks:
- id: docformatter
- repo: https://github.com/hadialqattan/pycln
rev: v2.4.0
hooks:
Expand All @@ -30,11 +39,11 @@ repos:
--ignore-missing-imports,
--explicit-package-bases,
]
- repo: https://github.com/astral-sh/ruff-pre-commit
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.4.8
hooks:
- id: ruff
args: [--fix, --exit-zero]
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/regebro/pyroma
rev: "4.2"
hooks:
Expand Down
50 changes: 36 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,31 @@ keywords = ["programming language, liquid types"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11"
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13"
]

scripts.aeon = "aeon.__main__:main"

dependencies = ['lark',
'z3-solver >= 4',
dependencies = [
'argparse',
'configparser',
'lark',
'loguru',
'geneticengine@https://github.com/alcides/GeneticEngine/archive/3feb0b48494f6b4352a3ed87a0fef29a98e4b4a1.zip',
'multiprocess',
'textdistance',
'numpy',
'configparser',
'argparse',
'pathos',
'pillow',
'psb2',
'pytest',
'scikit-image',
'sympy',
'textdistance',
'z3-solver >= 4',
'zstandard==0.15.2',
'zss'
]

[project.urls]
Expand All @@ -39,8 +50,17 @@ text = "https://opensource.org/licenses/MIT"

[build-system]
build-backend = 'setuptools.build_meta'
requires = [
'setuptools >= 43.0.0']
requires = ['setuptools >= 67.6.0']

[tool.setuptools]
py-modules = ["aeon"]
include-package-data = true

[tool.setuptools.packages.find]
where = ["."]

[tool.setuptools.package-data]
'examples' = ['*.csv']

[tool.docformatter]
syntax = 'google'
Expand All @@ -62,9 +82,6 @@ all = true
[tool.ruff]
line-length = 120

# Assume Python 3.10.
target-version = "py310"

# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
Expand All @@ -88,14 +105,19 @@ exclude = [
"venv",
]

# Assume Python 3.10.
target-version = "py310"

[tool.ruff.lint]
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"


# Enable Pyflakes `E` and `F` codes by default.
select = ["E", "F"]
ignore = ["E741", "E501"]
per-file-ignores = { }

# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
per-file-ignores = {}


[tool.ruff.lint.flake8-import-conventions.aliases]
Expand Down
19 changes: 0 additions & 19 deletions requirements.pip

This file was deleted.

29 changes: 0 additions & 29 deletions setup.cfg

This file was deleted.

0 comments on commit 95c5c21

Please sign in to comment.