Skip to content

Commit

Permalink
clean up .gitignore; add a couple linters
Browse files Browse the repository at this point in the history
  • Loading branch information
mcflugen committed Apr 4, 2024
1 parent c4a8100 commit 2824e9e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 104 deletions.
106 changes: 5 additions & 101 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,104 +1,8 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

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

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

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

# Unit test / coverage reports
htmlcov/
.tox/
*.py[cod]
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# dotenv
.env

# virtualenv
.venv
venv/
ENV/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/

# nox virtual envs
.nox/
__pycache__/
build/
dist/
docs/source/api/babelizer*rst
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,15 @@ repos:
- id: end-of-file-fixer
- id: forbid-new-submodules
- id: trailing-whitespace
- id: name-tests-test
exclude: ^external
- id: file-contents-sorter
files: |
(?x)^(
requirements(-\w+)?.(in|txt)|
external/requirements(-\w+)?.(in|txt)|
.gitignore
)
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.8.0
Expand Down
6 changes: 3 additions & 3 deletions external/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
bmi-tester>=0.5.4
bmi-c
bmi-cxx
bmi-fortran
bmi-tester>=0.5.4
bmipy
cmake
c-compiler
cmake
cxx-compiler
fortran-compiler
make
pkg-config
pip
pkg-config
File renamed without changes.

0 comments on commit 2824e9e

Please sign in to comment.