Skip to content

Commit

Permalink
Further linting
Browse files Browse the repository at this point in the history
  • Loading branch information
gfrn committed Sep 1, 2022
1 parent 208ae48 commit 6b36696
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: 21.9b0
rev: 22.8.0
hooks:
- id: black
language_version: python3 # Should be a command that runs python3.6+
Expand Down
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
## [1.2.4] - 2022-08-12
### Changed:
- Fix identation bug on `get_dsp_modules_bank()`
- List into dict (get/set params) and also returns digital value for FP
- List into dict (get/set params) and also returns digital value for FP
- Returns dict for certain FAC/FBP/FAP read_vars() functions

## [1.2.3] - 2022-08-08
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ where = ["src"]
[project.optional-dependencies]
dev = [
"bandit==1.7.0",
"black==21.10b0",
"black==22.8.0",
"flake8==4.0.1",
"flake8-bandit==2.1.2",
"flake8-bugbear==21.9.2",
Expand Down
4 changes: 2 additions & 2 deletions src/pydrs/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2848,8 +2848,8 @@ def clear_bid(self, password, clear_ps=True, clear_dsp=True):
# CLEAR DSP PARAMETERS
for dsp_class in [1, 2, 3, 4, 5, 6]:
for dsp_id in range(num_dsp_modules[dsp_class]):
for dsp_coeff in range(num_coeffs_dsp_modules[dsp_class]):
coeff, coeff_hex = self.set_dsp_coeffs(dsp_class, dsp_id, [0])
for _ in range(num_coeffs_dsp_modules[dsp_class]):
self.set_dsp_coeffs(dsp_class, dsp_id, [0])

# Store values into BID
time.sleep(0.5)
Expand Down

0 comments on commit 6b36696

Please sign in to comment.