Skip to content

Commit

Permalink
Using CamelCase for classes and snake_case for slots (#37)
Browse files Browse the repository at this point in the history
* Using CamelCase for classes and snake_case for slots

* naming

* fix test

* align tests with schema changes

* align tests with schema changes
  • Loading branch information
cmungall authored May 9, 2023
1 parent 6ea106a commit 06eaad8
Show file tree
Hide file tree
Showing 10 changed files with 2,027 additions and 3,147 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ deploy: all mkd-gh-deploy
gen-project: $(PYMODEL)
$(RUN) gen-project -d $(DEST) $(SOURCE_SCHEMA_PATH) --config-file project_config.yaml && mv $(DEST)/*.py $(PYMODEL)

src/kgcl/datamodel/%.py: src/kgcl/schema/%.yaml
src/kgcl_schema/datamodel/%.py: src/kgcl_schema/schema/%.yaml
$(RUN) gen-python $< > $@.tmp && mv $@.tmp $@

test:
Expand Down
Loading

0 comments on commit 06eaad8

Please sign in to comment.