Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name="kikit_multipanel"
version="0.1.2"
#dynamic = ["dependencies"]
authors=[
{name="Simon Hobbs", email='simon.hobbs@electrooptical.net'}]
requires-python='>=3.8'
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
]
description="Extract pad positions from a kicad PCBNEW file with net data."
keywords=['kikit_multipanel', 'kicad', 'python', 'eda', 'electronics', 'pcb', 'manufacturing']
readme="README.md"
dependencies = [
'click>=7.0',
'pandas',
'numpy',
]
[project.license]
file="LICENSE"
test="GNU LESSER GENERAL PUBLIC LICENSE, Version 2.1"
[project.scripts]
kikit_multipanel='kikit_multipanel.cli:main'
[project.urls]
github='https://github.com/snhobbs/kikit_multipanel.git'
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[tool.hatch.metadata]
allow-direct-references = true
# [tool.setuptools]
# packages=['kikit_multipanel']
[tool.setuptools.packages.find]
where = ["src"]
# ==== pytest ====
[tool.pytest.ini_options]
minversion = "6.0"
python_files = [
"tests.py",
"test_*.py",
]
# ==== Coverage ====
[tool.coverage.run]
include = ["kikit_multipanel/**"]
omit = ["*/migrations/*", "*/tests/*"]
# ==== mypy ====
[tool.mypy]
python_version = "3.10"
check_untyped_defs = true
ignore_missing_imports = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_unused_configs = true
plugins = [
]
[[tool.mypy.overrides]]
ignore_errors = true
# ==== djLint ====
[tool.djlint]
blank_line_after_tag = "load,extends"
close_void_tags = true
format_css = true
format_js = true
# TODO: remove T002 when fixed https://github.com/Riverside-Healthcare/djLint/issues/687
ignore = "H006,H030,H031,T002"
include = "H017,H035"
indent = 2
max_line_length = 119
[tool.djlint.css]
indent_size = 2
[tool.djlint.js]
indent_size = 2
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
"*/migrations/*.py",
"staticfiles/*"
]
line-length = 88
indent-width = 4
target-version = "py310"
[tool.ruff.lint]
select = [
"F",
"E",
"W",
"C90",
"I",
"N",
"UP",
"YTT",
# "ANN", # flake8-annotations: we should support this in the future but 100+ errors atm
"ASYNC",
"S",
"BLE",
"FBT",
"B",
"A",
"COM",
"C4",
"DTZ",
"T10",
"DJ",
"EM",
"EXE",
"FA",
'ISC',
"ICN",
"G",
'INP',
'PIE',
"T20",
'PYI',
'PT',
"Q",
"RSE",
"RET",
"SLF",
"SLOT",
"SIM",
"TID",
"TCH",
"INT",
# "ARG", # Unused function argument
"PTH",
"ERA",
"PD",
"PGH",
"PL",
"TRY",
"FLY",
# "NPY",
# "AIR",
"PERF",
# "FURB",
# "LOG",
"RUF"
]
ignore = [
"S101", # Use of assert detected https://docs.astral.sh/ruff/rules/assert/
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
"SIM102", # sometimes it's better to nest
"COM812", # missing-trailing-comma recommended to remove
"ISC001", # single-line-implicit-string-concatenation recommended to remove
"E501", # line too long
"PD901", # generic names
"ERA001", # commented out code
]
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.lint.isort]
force-single-line = true
38783d7d7This file is pinned to the selected release. Download the original to open it in your design tool.