Skip to content

Commit

Permalink
Merge pull request #101 from smkent/manage-cookie
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
smkent authored Jan 28, 2024
2 parents b7ed95d + 22e3bcf commit 95be994
Show file tree
Hide file tree
Showing 4 changed files with 205 additions and 192 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
args: ["--config", "pyproject.toml"]
Expand All @@ -19,7 +19,7 @@ repos:
- id: isort
args: ["--show-config"]
- repo: https://github.com/pycqa/bandit
rev: 1.7.6
rev: 1.7.7
hooks:
- id: bandit
additional_dependencies: ['.[toml]']
Expand Down
6 changes: 4 additions & 2 deletions hooks/post_gen_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ def _run(call: List[str], env: Dict[str, str]) -> None:
]
):
full_rm_path = os.path.join(os.getcwd(), rm_path)
shutil.rmtree(full_rm_path) if os.path.isdir(full_rm_path) else os.remove(
full_rm_path
(
shutil.rmtree(full_rm_path)
if os.path.isdir(full_rm_path)
else os.remove(full_rm_path)
)


Expand Down
Loading

0 comments on commit 95be994

Please sign in to comment.