Skip to content

Commit

Permalink
Merge pull request #4 from open-contracting/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
jpmckinney authored Dec 3, 2024
2 parents 4e19fef + a0d1b3f commit d3405c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
repos:
- repo: https://github.com/psf/black
rev: 23.1.0
rev: 24.10.0
hooks:
- id: black
args: [--line-length=119]
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
rev: 7.1.1
hooks:
- id: flake8
args:
- --max-line-length=119
- --exclude=*/migrations/*,node_modules
- --ignore=F405, W503, E203, E231
- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
args:
Expand Down
6 changes: 3 additions & 3 deletions nightingale/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ def run(
"codelists": codelists_file or config_data["mapping"].get("codelists"),
"ocid_prefix": ocid_prefix or config_data["mapping"]["ocid_prefix"],
"selector": selector_content,
"force_publish": force_publish
if force_publish is not None
else config_data["mapping"].get("force_publish", False),
"force_publish": (
force_publish if force_publish is not None else config_data["mapping"].get("force_publish", False)
),
}
config_data["publishing"] = {
"publisher": publisher or config_data["publishing"]["publisher"],
Expand Down

0 comments on commit d3405c0

Please sign in to comment.