Skip to content

Commit

Permalink
Gha (#4)
Browse files Browse the repository at this point in the history
* added gha for linting formatting
added makefile
* formatting
* added file length to black
  • Loading branch information
cemde authored May 12, 2022
1 parent d1c07eb commit f63e1a4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ format:
isort -rc . ;\
autoflake -r --in-place --remove-unused-variables $(package_name)/ ;\
autoflake -r --in-place --remove-unused-variables tests/ ;\
black $(package_name)/ --skip-string-normalization ;\
black tests/ --skip-string-normalization
black $(package_name)/ --line-length 120 --skip-string-normalization ;\
black tests/ --line-length 120 --skip-string-normalization

checkformat:
. $(venv_activate_path) ;\
Expand Down
10 changes: 9 additions & 1 deletion copy_syntax/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,12 @@
# self.string = string
# def set_prefix(package):

__all__ = [syntax, Literal, syntax_like, sequence, pandas_prefix, numpy_prefix, pytorch_prefix]
__all__ = [
syntax,
Literal,
syntax_like,
sequence,
pandas_prefix,
numpy_prefix,
pytorch_prefix,
]

0 comments on commit f63e1a4

Please sign in to comment.