Skip to content

Commit

Permalink
Fixing pre-coomit and docs CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rochacbruno committed Mar 30, 2022
1 parent c0802ab commit 743185e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
exclude: docs
repos:
- repo: https://github.com/asottile/reorder_python_imports
rev: v1.4.0
rev: v3.0.1
hooks:
- id: reorder-python-imports
language_version: python3
args: [--py3-plus]
exclude: &exc "(^dynaconf/vendor+.|^venv/+.|^.venv/+.|^env/+.|^.tox/+.|^build/+.)"
- repo: https://github.com/ambv/black
rev: 20.8b1
rev: 22.3.0
hooks:
- id: black
args: [--line-length=79]
language_version: python3
exclude: *exc

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.910
rev: v0.942
hooks:
- id: mypy
files: ^dynaconf/
exclude: *exc

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.0.0
rev: v4.1.0
hooks:
- id: trailing-whitespace
language_version: python3
Expand All @@ -45,7 +45,7 @@ repos:
exclude: *exc
args: [--remove]
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.0
rev: 3.9.2
hooks:
- id: flake8
args: ['--ignore=F403,W504,W503,F841,E401,F401,E402']
Expand Down
1 change: 0 additions & 1 deletion example/issues/445_casting/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,3 @@ build_rook_from_git = true
**Expected behavior**

`settings.as_bool('UPSTREAM_ROOK.BUILD_ROOK_FROM_GIT')` returns `True`.

1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ mkdocs-nav-enhancements==0.9.1
mkdocs-new-features-notifier==0.1.6
mkdocs-versioning==0.3.1
pymdown-extensions==8.0.1
Jinja2>3.0.0
2 changes: 2 additions & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ mkdocs>=1.1.2
mkdocs-material>=5.3.2
mkdocs-material-extensions>=1.0
pymdown-extensions
Jinja2>3.0.0


# editable dynaconf
--editable .
1 change: 0 additions & 1 deletion tests/test_redis.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ def custom_checker(ip_address, port):
def docker_redis():
return DYNACONF_TEST_REDIS_URL


else:

@pytest.fixture(scope="module")
Expand Down
4 changes: 2 additions & 2 deletions tests/test_yaml_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ def test_should_not_duplicate_with_global_merge(tmpdir):


def test_should_duplicate_when_explicit_set(tmpdir):
""" Issue #653"""
"""Issue #653"""
settings_file_yaml = """
default:
SCRIPTS:
Expand Down Expand Up @@ -460,7 +460,7 @@ def test_should_duplicate_when_explicit_set(tmpdir):


def test_should_NOT_duplicate_when_explicit_set(tmpdir):
""" Issue #653"""
"""Issue #653"""
settings_file_yaml = """
default:
SCRIPTS:
Expand Down

0 comments on commit 743185e

Please sign in to comment.