Home | Ubuntu/Mint | Arch/Manjaro | ssh/gpg | texlive | python | git | steam
pip3 install --user --no-cache-dir --upgrade --break-system-packages pip setuptools wheel
pip3 install --user --no-cache-dir --upgrade --break-system-packages jupyter jupyter_contrib_nbextensions jupyter_nbextensions_configurator ipyparallel
jupyter contrib nbextension install --user && jupyter nbextensions_configurator enable --user
ipcluster nbextension enable --user
pip3 install --user --no-cache-dir --upgrade --break-system-packages autopep8 bandit black flake8 flake8-bugbear isort mypy pycodestyle pydocstyle pyflakes pylama pylint pyright pyupgrade ruff sphinx-lint
pip3 install --user --no-cache-dir --upgrade --break-system-packages findent fprettify fortls fortran-language-server
pip3 install --user --no-cache-dir --upgrade --break-system-packages fortranformat guppy3 matplotlib mpmath numpy pandas pandasgui rundec scipy tqdm
pip3 install --user --no-cache-dir --upgrade --break-system-packages corrfitter gvar lsqfit
pip3 install --user --no-cache-dir --upgrade --break-system-packages dash
pip3 install --user --no-cache-dir --upgrade --break-system-packages pandas-stubs
mypy --install-types
For linter documentation see:
setup.cfg
file containing[isort]
line_length = 120
profile = black
force_grid_wrap = 2
multi_line_output = 3
[flake8]
# E704 multiple statements on one line (def)
# W503 line break before binary operator
ignore = E704,W503,
max-line-length = 120
exclude = .git __pycache__
statistics = True
select = C,E,F,W,B,B9
[pycodestyle]
# E704 multiple statements on one line (def)
# W503 line break before binary operator
ignore = E704,W503,
max-line-length = 120
exclude = .git __pycache__
statistics = True
[pydocstyle]
convention = numpy
[mypy]
exclude = (.git|__pycache__)
pylintrc
file containing[pylint]
# C0302 too many lines
# C0325 superfluous-parens
# R0801 duplicate-code
# R0912 too-many-branches
# R0913 too-many-arguments
# R0914 too-many-locals
# R0915 too-many-statements
disable = C0302,C0325,R0801,R0912,R0913,R0914,R0915,
max-line-length = 120
ignore = .git __pycache__
j = 0
reports = yes
pyproject.toml
file containing[tool.autopep8]
max_line_length = 120
in-place = true
recursive = true
aggressive = 3
[tool.bandit]
exclude_dirs = [""]
skips = ["B404", "B603"] # https://github.com/PyCQA/bandit/issues/333
[tool.black]
line-length = 120
target-version = ['py311']
[tool.pyright]
# exclude = [""]
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"COM812", "C901",
"D203", "D212", "D413",
"ERA001",
"FBT001", "FBT002",
"FIX002",
"PLR0912", "PLR0913", "PLR0915", "PLR2004",
"PTH123",
"S108", "S501", "S507",
"TD002", "TD003", "TD004",
"TRY003",
]