Skip to content

Commit

Permalink
fix autoformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
akaszynski committed Jul 19, 2023
1 parent 352d634 commit 18a0272
Show file tree
Hide file tree
Showing 9 changed files with 93 additions and 11,533 deletions.
23 changes: 23 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[flake8]
exclude = .git,__pycache__,build,dist,doc/examples,doc/_build
ignore =
# whitespace before ':'
E203,
# line break before binary operator
W503,
# line length too long
E501,
# do not assign a lambda expression, use a def
E731,
# too many leading '#' for block comment
E266,
# ambiguous variable name
E741,
# module level import not at top of file
E402,
# Quotes (temporary)
Q0,
# bare excepts (temporary)
B001, E722
# we already check black
BLK100
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ build/
dist/

# Compiled
stl_reader/_stlfile_wrapper.c
pyminiply/_wrapper.cpp
*.so
*.pyc
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ repos:
- id: clang-format
files: |
(?x)^(
pyminiply/[^_].*\.c.*
pyminiply/[^_].*\.cpp.*
)$
- repo: https://github.com/python-jsonschema/check-jsonschema
Expand Down
3 changes: 2 additions & 1 deletion pyminiply/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
from pyminiply.reader import read, read_as_mesh
"""pyminiply module."""
from pyminiply.reader import read, read_as_mesh # noqa: F401
Loading

0 comments on commit 18a0272

Please sign in to comment.