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
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[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
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 = ['py313']
[tool.pylint]
disable = [
"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
]
max-line-length = 120
ignore = [".git", "__pycache__"]
j = 0
reports = true
[tool.isort]
line_length = 120
profile = "black"
force_grid_wrap = 2
multi_line_output = 3
[tool.mypy]
exclude = "(.git|__pycache__)"
[tool.pydocstyle]
convention = "numpy"
[tool.pyright]
# exclude = [""]
[tool.ruff]
line-length = 120
target-version = "py313"
[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",
]