-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial aim plugin * Fixing linting * Add tests and fix bandit * Fix test names * Fix tests * Create data folder for categorical data * Tests passing and tutorial * updated tutorial * Fix tests * Move AIM to privacy from generic
- Loading branch information
Showing
31 changed files
with
4,739 additions
and
53 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 |
---|---|---|
@@ -1,52 +1,51 @@ | ||
exclude: '^docs/conf.py' | ||
exclude: "^docs/conf.py" | ||
|
||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.0.1 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: check-ast | ||
- id: check-json | ||
- id: check-merge-conflict | ||
- id: check-xml | ||
- id: check-yaml | ||
- id: debug-statements | ||
- id: end-of-file-fixer | ||
- id: requirements-txt-fixer | ||
- id: mixed-line-ending | ||
args: ['--fix=auto'] # replace 'auto' with 'lf' to enforce Linux/Mac line endings or 'crlf' for Windows | ||
- repo: https://github.com/psf/black | ||
rev: 22.3.0 | ||
hooks: | ||
- id: black | ||
language_version: python3 | ||
- repo: https://github.com/pycqa/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 6.0.0 | ||
hooks: | ||
- id: flake8 | ||
args: [ | ||
"--max-line-length=480", | ||
"--extend-ignore=E203,W503" | ||
] | ||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v0.991 | ||
hooks: | ||
- id: mypy | ||
args: [ | ||
"--ignore-missing-imports", | ||
"--scripts-are-modules", | ||
"--disallow-incomplete-defs", | ||
"--no-implicit-optional", | ||
"--warn-unused-ignores", | ||
"--warn-redundant-casts", | ||
"--strict-equality", | ||
"--warn-unreachable", | ||
"--disallow-untyped-defs", | ||
"--disallow-untyped-calls", | ||
"--install-types", | ||
"--non-interactive", | ||
] | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.0.1 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: check-ast | ||
- id: check-json | ||
- id: check-merge-conflict | ||
- id: check-xml | ||
- id: check-yaml | ||
- id: debug-statements | ||
- id: end-of-file-fixer | ||
- id: requirements-txt-fixer | ||
- id: mixed-line-ending | ||
args: ["--fix=auto"] # replace 'auto' with 'lf' to enforce Linux/Mac line endings or 'crlf' for Windows | ||
- repo: https://github.com/psf/black | ||
rev: 22.3.0 | ||
hooks: | ||
- id: black | ||
language_version: python3 | ||
- repo: https://github.com/pycqa/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 6.0.0 | ||
hooks: | ||
- id: flake8 | ||
args: ["--max-line-length=480", "--extend-ignore=E203,W503"] | ||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v0.991 | ||
hooks: | ||
- id: mypy | ||
args: [ | ||
"--ignore-missing-imports", | ||
"--scripts-are-modules", | ||
"--disallow-incomplete-defs", | ||
"--no-implicit-optional", | ||
"--warn-unused-ignores", | ||
"--warn-redundant-casts", | ||
"--strict-equality", | ||
"--warn-unreachable", | ||
"--disallow-untyped-defs", | ||
"--disallow-untyped-calls", | ||
"--install-types", | ||
"--non-interactive", | ||
"--follow-imports=skip", # This is temporary until the mbi directory is not excluded | ||
] | ||
exclude: ^src/synthcity/plugins/core/models/mbi/ # This is temporary until the mbi directory is fully typed |
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.