Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update static analysis dependencies #283

Merged
merged 2 commits into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/psf/black
rev: 23.3.0
rev: 23.7.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
Expand Down
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Fix type annotation for `util.integrate_quad_complex` function
- Add more debug logging for root counting
- Adjust root counting error advice to include chaning integration method
- Fix type issue in contour.__call__ by hard coding array dtype

### 2.0.0 - 20/Aug/2022

Expand Down
3 changes: 2 additions & 1 deletion cxroots/contour.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ def __call__(
[
self.segments[i](num_segments * t[ti] % 1)
for ti, i in enumerate(segment_index)
]
],
dtype=complex,
)
else:
return self.segments[segment_index](num_segments * t % 1)
Expand Down
6 changes: 3 additions & 3 deletions requirements_analysis.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
black==23.3.0
black==23.7.0
isort==5.12.0
flake8==6.0.0
flake8==6.1.0
pep8-naming==0.13.3
bandit==1.7.5
bandit-sarif-formatter==1.1.1
pyright==1.1.318
pyright==1.1.324