Add linting
This commit is contained in:
parent
1a60b2327e
commit
812b9c1285
@ -1,6 +1,11 @@
|
||||
STL_FILES = base.stl hinged_lid.stl simple_lid.stl tandy_lid.stl
|
||||
|
||||
all: $(STL_FILES)
|
||||
all: $(STL_FILES) .lint
|
||||
|
||||
%.stl: %.py dimensions.py utils.py
|
||||
python $<
|
||||
|
||||
.lint: *.py
|
||||
flake8
|
||||
touch .lint
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import cadquery as cq
|
||||
from cq_warehouse.drafting import Draft
|
||||
# from cq_warehouse.drafting import Draft
|
||||
|
||||
import components.audio_plug as audio_plug
|
||||
import components.battery_holder as battery_holder
|
||||
|
@ -2,7 +2,7 @@ from utils import extrude_shape, punch_hole
|
||||
import cadquery as cq
|
||||
|
||||
elements = None
|
||||
bottom_holes = None # Not really vents FIXME
|
||||
bottom_holes = None
|
||||
|
||||
|
||||
def init(positions, thickness):
|
||||
|
@ -1,2 +1,3 @@
|
||||
cadquery
|
||||
git+https://github.com/gumyr/cq_warehouse.git#egg=cq_warehouse
|
||||
flake8
|
||||
|
Loading…
Reference in New Issue
Block a user