Skip to content

Commit

Permalink
Pin black to 23.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tyzhnenko committed Jan 27, 2024
1 parent 9e905a5 commit 7d6659b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install black isort flake8
pip install black==23.12.1 isort flake8
- name: Compile Cython extensions
run: |
Expand Down
2 changes: 1 addition & 1 deletion blacksheep/server/openapi/v3.py
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ def _try_get_schema_for_mapping(
type=ValueType.OBJECT,
properties={
properties_regexp.get(
key_type, "^[a-zA-Z0-9_]+$"
key_type, properties_regexp[str]
): self.get_schema_by_type(value_type, context_type_args)
},
)
Expand Down

0 comments on commit 7d6659b

Please sign in to comment.