Skip to content

Commit

Permalink
Fix ruff rules
Browse files Browse the repository at this point in the history
  • Loading branch information
edan-bainglass committed Aug 12, 2024
1 parent 0419ef4 commit 2409c71
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 1 addition & 3 deletions examples/coulomb_blockade/pentacene/hybr.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ def hybridize_orbitals(
# Matsubara
gf.eta = 0.0
beta = 1 / (kB * temperature)
matsubara_energies = (
1.0j * (2 * np.arange(matsubara_grid_size) + 1) * np.pi / beta
)
matsubara_energies = 1.0j * (2 * np.arange(matsubara_grid_size) + 1) * np.pi / beta
gd = GridDesc(matsubara_energies, no, complex)
HB = gd.empty_aligned_orbs()

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ ignore = [
"RUF005", # Consider iterable unpacking instead of concatenation
"RUF012"
]
line-length = 80
line-length = 88
select = [
"E", # pydocstyle
"W", # pydocstyle
Expand Down
3 changes: 2 additions & 1 deletion src/aiida_quantum_transport/helpers.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
""" Helper functions for automatically setting up computer & code.
"""Helper functions for automatically setting up computer & code.
Helper functions for setting up
1. An AiiDA localhost computer
2. A code on localhost
"""

from __future__ import annotations

import shutil
Expand Down

0 comments on commit 2409c71

Please sign in to comment.