drop py3.6. Misc housekeeping
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[mypy]
|
||||
ignore_missing_imports = True
|
||||
strict_optional = False
|
||||
#ignore_missing_imports = True
|
||||
#strict_optional = False
|
||||
disallow_incomplete_defs = True
|
||||
disallow_untyped_defs = True
|
||||
warn_unused_configs = True
|
||||
|
||||
@@ -12,16 +12,15 @@ source .venv/bin/activate
|
||||
# Install test dependencies
|
||||
pip install -r requirements.txt
|
||||
|
||||
# Run static type checking prior to installing to avoid sloppy type hints of
|
||||
# systemrdl package
|
||||
mypy ../src/peakrdl_regblock
|
||||
|
||||
# Install dut
|
||||
pip install -U ..
|
||||
pip install -e "../[cli]"
|
||||
|
||||
# Run lint
|
||||
pylint --rcfile pylint.rc ../src/peakrdl_regblock
|
||||
|
||||
# Run static type checking
|
||||
mypy ../src/peakrdl_regblock
|
||||
|
||||
# Run unit tests
|
||||
pytest --workers auto --cov=peakrdl_regblock --synth-tool skip
|
||||
|
||||
|
||||
Reference in New Issue
Block a user