Skip to content

Commit

Permalink
Changes based on comments
Browse files Browse the repository at this point in the history
  • Loading branch information
XuanWang-Amos committed Dec 6, 2023
1 parent 147735d commit 9ccc7eb
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 4 deletions.
71 changes: 70 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,74 @@
### PythonVanilla ###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/


### Custom Ignores ###
config/local-*.cfg
src/proto
venv/
venv-*/
out/
protos/**/*_pb2*
2 changes: 1 addition & 1 deletion bin/black.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ else
fi

# shellcheck disable=SC2086
exec python -m black --config=black.toml ${MODE} .
exec python -m black ${MODE} .
2 changes: 0 additions & 2 deletions bin/isort.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,4 @@ fi
# typing is the only module allowed to put imports on the same line:
# https://google.github.io/styleguide/pyguide.html#313-imports-formatting
exec python -m isort "${MODE}" \
--settings-path=black.toml \
framework bin tests

0 comments on commit 9ccc7eb

Please sign in to comment.