Skip to content

Commit

Permalink
Merge pull request #77 from mraniki/dev
Browse files Browse the repository at this point in the history
Update pyproject.toml
  • Loading branch information
mraniki authored Oct 10, 2023
2 parents be9e1dd + cea9efb commit 2144f24
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 8 deletions.
9 changes: 9 additions & 0 deletions .github/.mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
pull_request_rules:
- name: Automatic merge on approval
conditions:
- "check-success=build"
- "check-success=test"
- "#check-failure=0"
actions:
merge:
method: merge
13 changes: 9 additions & 4 deletions .github/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.291
rev: v0.0.292
hooks:
- id: ruff
#args: [--fix, --exit-non-zero-on-fix]
args: [--fix, --exit-non-zero-on-fix]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
- id: trailing-whitespace

- repo: https://github.com/PyCQA/bandit
rev: '1.7.5'
hooks:
- id: bandit
args: ["-c", "pyproject.toml"]
1 change: 0 additions & 1 deletion cefi/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import ccxt
from loguru import logger

from cefi import __version__
Expand Down
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,7 @@ omit = [

[tool.bandit]
exclude_dirs = ["tests","docs"]

[tool.bandit.assert_used]
skips = ["*_test.py", "test_*.py"]
skips = ["B101","B104"]


[tool.semantic_release]
Expand Down

0 comments on commit 2144f24

Please sign in to comment.