Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudon committed Oct 1, 2024
1 parent 9baf834 commit 621293c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions neurots/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ def accept_reject(
Args:
propose (callable): function to propose a move, which has an 'noise' argument to allow
for increasing randomness and faster acceptance (to allow sharp turns, etc...)
probability (callable): function to compute probability, first arg is the poposal (output of
`propose` function), and takes extra kwargs via `probability_kwargs`
probability (callable): function to compute probability, first arg is the proposal (output
of `propose` function), and takes extra kwargs via `probability_kwargs`
rng (np.random._generator.Generator): random number generator
max_tries (int): maximum number of tries to accept before we return best proposal
randomness_increase (float): increase of noise amplitude after each try
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ commands =
pylint -j {env:PYLINT_NPROCS:1} {[base]files}

[testenv:format]
basepython = python3.9
basepython = python3
skip_install = true
deps =
codespell
Expand Down

0 comments on commit 621293c

Please sign in to comment.