-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from icanbwell/switch_to_docker
switch to docker
- Loading branch information
Showing
18 changed files
with
1,295 additions
and
319 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
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,31 +1,36 @@ | ||
exclude: ^.idea/ | ||
exclude: (^.idea/|^notebooks/) | ||
repos: | ||
- repo: https://github.com/humitos/mirrors-autoflake | ||
rev: v1.3 | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v3.2.0 | ||
hooks: | ||
- id: autoflake | ||
args: [--in-place, --remove-all-unused-imports, --remove-unused-variable] | ||
- repo: https://github.com/hadialqattan/pycln | ||
rev: v0.0.2 # Possible releases: https://github.com/hadialqattan/pycln/tags | ||
- id: end-of-file-fixer | ||
types: [ python ] | ||
- repo: local | ||
hooks: | ||
- id: pycln | ||
args: [--all] | ||
- repo: https://gitlab.com/pycqa/flake8 | ||
rev: 3.8.4 | ||
hooks: | ||
- id: flake8 | ||
- repo: https://github.com/ambv/black | ||
rev: 21.5b0 | ||
hooks: | ||
- id: black | ||
language_version: python3.6 | ||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v0.790 | ||
hooks: | ||
- id: mypy | ||
args: [--strict, --python-version=3.6, --show-error-codes, --allow-untyped-decorators] | ||
additional_dependencies: | ||
- numpy>=1.19.2 | ||
- pyspark==3.1.1 | ||
- logger | ||
- pytest | ||
- id: autoflake | ||
name: autoflake | ||
language: system | ||
types: [ python ] | ||
entry: autoflake | ||
require_serial: true | ||
args: [ '--in-place', '--remove-all-unused-imports', '--ignore-init-module-imports'] | ||
- id: flake8 | ||
name: flake8 | ||
language: system | ||
types: [python] | ||
entry: flake8 | ||
require_serial: true | ||
args: [ "--per-file-ignores=__init__.py:F401,anonymizer.py:E731"] | ||
- id: black | ||
name: black | ||
language: system | ||
types: [python] | ||
require_serial: true | ||
entry: black | ||
- id: mypy | ||
name: mypy | ||
language: system | ||
types: [ python ] | ||
entry: mypy | ||
require_serial: true | ||
args: [ --strict, --python-version=3.7, --show-error-codes, --allow-untyped-decorators ] |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[[source]] | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
[packages] | ||
pyspark = "==3.1.1" | ||
|
||
[dev-packages] | ||
setuptools=">=60.9.3" | ||
wheel=">=0.37.1" | ||
twine=">=3.8.0" | ||
pre-commit=">=2.17.0" | ||
autoflake=">=1.4" | ||
flake8 = ">=4.0.1" | ||
mypy = ">=0.931" | ||
pytest = ">=7.0.1" | ||
black = ">=22.1.0" | ||
importlib-metadata = ">=4.0.1" | ||
py4j = "==0.10.9" | ||
pyspark="==3.1.1" # should match the version of spark we use for testing | ||
pygments = ">=2.8.1" # not directly required, pinned by Snyk to avoid a vulnerability | ||
types-Deprecated=">=0.1.2" | ||
Sphinx="==4.1.2" | ||
sphinx-autoapi="==1.8.4" | ||
sphinx-rtd-theme="==0.5.2" | ||
myst-parser="==0.15.1" | ||
pipenv-setup = ">=3.2.0" | ||
|
||
[requires] | ||
python_version = "3.7" | ||
|
||
[pipenv] | ||
allow_prereleases = false |
Oops, something went wrong.