-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into args-kwargs
- Loading branch information
Showing
10 changed files
with
95 additions
and
68 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,4 +1,5 @@ | ||
[flake8] | ||
max-line-length = 120 | ||
extend-ignore = E203,C901 | ||
exclude = | ||
.git, | ||
|
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
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,73 @@ | ||
default_language_version: | ||
python: python3 | ||
|
||
ci: | ||
autofix_prs: true | ||
autoupdate_commit_msg: "[pre-commit.ci] pre-commit suggestions" | ||
autoupdate_schedule: quarterly | ||
# submodules: true | ||
|
||
repos: | ||
# todo: let's enable also al these but as separate PR | ||
# - repo: https://github.com/pre-commit/pre-commit-hooks | ||
# rev: v4.5.0 | ||
# hooks: | ||
# - id: end-of-file-fixer | ||
# - id: trailing-whitespace | ||
# - id: check-json | ||
# - id: check-yaml | ||
# - id: check-toml | ||
# - id: check-docstring-first | ||
# - id: check-executables-have-shebangs | ||
# - id: check-case-conflict | ||
# - id: check-added-large-files | ||
# - id: detect-private-key | ||
|
||
# todo: another great hook | ||
# - repo: https://github.com/crate-ci/typos | ||
# rev: v1.16.26 | ||
# hooks: | ||
# - id: typos | ||
# # empty to do not write fixes | ||
# args: [] | ||
# exclude: pyproject.toml | ||
|
||
# - repo: https://github.com/PyCQA/docformatter | ||
# rev: v1.7.5 | ||
# hooks: | ||
# - id: docformatter | ||
# additional_dependencies: [tomli] | ||
# args: ["--in-place"] | ||
|
||
# - repo: https://github.com/psf/black-pre-commit-mirror | ||
# rev: 24.1.1 | ||
# hooks: | ||
# - id: black | ||
# name: Format code | ||
# args: | ||
# - "--skip-string-normalization" | ||
|
||
# todo: unify formatting all GH actions files | ||
# - repo: https://github.com/pre-commit/mirrors-prettier | ||
# rev: v3.1.0 | ||
# hooks: | ||
# - id: prettier | ||
# # https://prettier.io/docs/en/options.html#print-width | ||
# args: ["--print-width=120"] | ||
|
||
# - repo: https://github.com/pre-commit/mirrors-mypy | ||
# rev: v1.8.0 | ||
# hooks: | ||
# - id: mypy | ||
|
||
- repo: https://github.com/pycqa/flake8 | ||
rev: 7.0.0 | ||
hooks: | ||
- id: flake8 | ||
|
||
# todo: replacement for flake8 | ||
# - repo: https://github.com/astral-sh/ruff-pre-commit | ||
# rev: v0.1.9 | ||
# hooks: | ||
# - id: ruff | ||
# args: ["--fix"] |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# todo: add some version range or pinning latest versions | ||
# tests and coverages | ||
pytest | ||
coverage | ||
pytest-cov | ||
birch | ||
# to connect to the test mongodb server | ||
pymongo | ||
dnspython | ||
pymongo-inmemory | ||
# to test pandas dataframe as-param hashing with mongodb core | ||
pandas | ||
# to be able to run `python setup.py checkdocs` | ||
collective.checkdocs | ||
pygments |
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