-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: decythonize configuration space (#321)
* refactor: Initial Cleanup * refactor: ... * chore: Update and Fix tooling * fix: Make tooling work for 3.7
- Loading branch information
1 parent
eb1ff7e
commit df6dd5e
Showing
54 changed files
with
6,410 additions
and
5,298 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: 2 | ||
|
||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
target-branch: "main" | ||
schedule: | ||
interval: "weekly" | ||
assignees: | ||
- "Neonkraft" | ||
reviewers: | ||
- "Neonkraft" | ||
commit-message: | ||
prefix: "chore: " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,69 @@ | ||
default_language_version: | ||
python: python3 | ||
files: | | ||
(?x)^( | ||
ConfigSpace| | ||
test | ||
)/.*\.py$ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: check-added-large-files | ||
files: ".*" | ||
- id: check-case-conflict | ||
files: ".*" | ||
- id: check-merge-conflict | ||
files: ".*" | ||
- id: check-yaml | ||
files: ".*" | ||
- id: end-of-file-fixer | ||
files: ".*" | ||
types: ["yaml"] | ||
- id: check-toml | ||
files: ".*" | ||
types: ["toml"] | ||
- id: debug-statements | ||
files: '^src/.*\.py$' | ||
- repo: https://github.com/python-jsonschema/check-jsonschema | ||
rev: 0.22.0 | ||
hooks: | ||
- id: check-github-workflows | ||
files: '^github/workflows/.*\.ya?ml$' | ||
types: ["yaml"] | ||
- id: check-dependabot | ||
files: '^\.github/dependabot\.ya?ml$' | ||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v0.961 | ||
rev: v1.2.0 | ||
hooks: | ||
- id: mypy | ||
args: [--show-error-codes, --ignore-missing-imports, --follow-imports, skip] | ||
name: mypy ConfigSpace | ||
files: ConfigSpace | ||
files: '^ConfigSpace/.*\.py$' | ||
args: | ||
- "--no-warn-return-any" # Disable this because it doesn't know about 3rd party imports | ||
- "--ignore-missing-imports" | ||
- "--show-traceback" | ||
- id: mypy | ||
files: '^test/.*\.py$' | ||
args: | ||
- "--no-warn-return-any" # Disable this because it doesn't know about 3rd party imports | ||
- "--ignore-missing-imports" | ||
- "--show-traceback" | ||
- "--disable-error-code" | ||
- "no-untyped-def" | ||
|
||
- repo: https://github.com/pycqa/flake8 | ||
rev: 5.0.4 | ||
- repo: https://github.com/psf/black | ||
rev: 23.3.0 | ||
hooks: | ||
- id: flake8 | ||
name: flake8 ConfigSpace | ||
files: ConfigSpace | ||
|
||
- id: flake8 | ||
name: flake8 test | ||
files: test | ||
|
||
- id: black | ||
args: ["--config=pyproject.toml"] | ||
- repo: https://github.com/charliermarsh/ruff-pre-commit | ||
rev: v0.0.263 | ||
hooks: | ||
- id: ruff | ||
args: ["--fix", "ConfigSpace", "test"] | ||
- repo: https://github.com/MarcoGorelli/cython-lint | ||
rev: v0.14.0 | ||
rev: v0.15.0 | ||
hooks: | ||
- id: cython-lint | ||
- id: cython-lint | ||
args: [--ignore=E501] | ||
- id: double-quote-cython-strings | ||
- id: double-quote-cython-strings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
"""Version information.""" | ||
|
||
# The following line *must* be the last in the module, exactly as formatted: | ||
from __future__ import annotations | ||
|
||
__version__ = "0.6.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.