Skip to content

Commit

Permalink
Fix tox -e format
Browse files Browse the repository at this point in the history
  • Loading branch information
mar10 committed Jan 22, 2023
1 parent fe39bd8 commit f540f07
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# Changelog

## 4.2.0 / Unreleased

- #277 Add quota-used-bytes and quota-available-bytes (RFC4331) (@NewbieOrange)
- Build MSI installer with Python 3.11, cheroot 9.0, cx_Freeze 6.3 (may fix #278)
- Official support for Python 3.11
- Update to black 22.12

## 4.1.0 / 2022-11-11

- #246 Add dir_browser/htdocs folder setup.cfg (for install with `pip install .`)
- #265 Fix PAM not threadsafe
- #268 Use relative paths to support reverse proxies
Expand Down Expand Up @@ -52,9 +55,9 @@
- hotfixes.re_encode_path_info is true by default (null evaluates to false now!)
- Add uvicorn server support to CLI
- `lock_storage`, `property_manager`, `provider_mapping`
can now be configured in the YAML file to use custom implementations using
this syntax:
`{ "class": <class_path>, "args": [<arg>, ...], "kwargs": {"<arg_name>": <val>, ... } }`
can now be configured in the YAML file to use custom implementations using
this syntax:
`{ "class": <class_path>, "args": [<arg>, ...], "kwargs": {"<arg_name>": <val>, ... } }`

**Other changes**

Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Cheroot = "*" # "~=8.5"
cx_Freeze = {version = "*", os_name = "== 'nt'"}
flake8 = "~=6.0"
flake8-bugbear = "~=23.1"
flake8-quotes = "~=3.3"
flake8-quotes = "~=3.3.2"
isort = "*"
mypy = "*"
Paste = "*" # "~=2.0"
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Paste~=2.0
black~=22.12
flake8~=6.0
flake8-bugbear~=23.1
flake8-quotes~=3.3
flake8-quotes~=3.3.2
pytest~=2.7
pytest-cov~=1.8
recommonmark
Expand Down
6 changes: 2 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ deps =
# flake8-commas # C812 missing trailing comma -> Handled by Black # flake8-comprehensions # flake8-docstrings # flake8-eradicate # E800 Found commented out code # flake8-expression-complexity # ECE001 Expression is too complex (X > Y) # flake8-if-expr # KEK100 don`t use "[on_true] if [expression] else [on_false]" syntax # flake8-import-order # (we run `isort --check`) # flake8-isort # (we run `isort --check`) # flake8-logging-format # G001 Logging statement uses string.format() # flake8-pep3101 # Use "".format instead of %
# flake8-print # T001 print found
# flake8-pytest-style # PT009 use a regular assert instead of unittest-style 'assertTrue'
flake8-quotes ~=3.3 # See also [flake8] config
flake8-quotes ~=3.3.2 # See also [flake8] config
# flake8-return # R503 you should add explicit return at end of the function if function have return value except None
# flake8-rst-docstrings # Docstrings should work with Sphinx (RSTnnn)
# flake8-string-format # Check for valid string.format() args
Expand Down Expand Up @@ -129,9 +129,7 @@ commands =
description = Reformat python code using Black and isort
# skip_install = true
deps =
black ~=22.12
isort
{[testenv:flake8]deps}
{[testenv:check]deps}
changedir = {toxinidir}
commands =
isort --profile black wsgidav tests setup.py {posargs}
Expand Down

0 comments on commit f540f07

Please sign in to comment.