Skip to content

Commit

Permalink
Merge pull request #204 from NASA-AMMOS/poetry-update
Browse files Browse the repository at this point in the history
  • Loading branch information
MJJoyce committed Sep 21, 2023
2 parents 654bc55 + ecc1206 commit 4009c81
Show file tree
Hide file tree
Showing 52 changed files with 3,507 additions and 463 deletions.
41 changes: 36 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,54 @@
# Distribution / Packaging / Build files
.coverage
.coverage*
doc/build/*
doc/source/ait.core.test*
doc/source/ait.core.server.test*
build/lib/*
*.egg-info/
*.egg
build/
.tox
dist/

# Object Files
*.o
*.pkl
*.pyc

# Libraries
*.lib
*.a

# Log Files
bliss-logmsgs-*.txt

# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib

# Executables
*.exe
*.out
*.app

# LaTeX / PDF Documentation
src/doc/dict/cmd/*.aux
src/doc/dict/cmd/*.log
src/doc/dict/cmd/*.out
src/doc/dict/cmd/*.toc
src/doc/dict/cmd/*.pdf
src/doc/dict/cmd/cmddict-07-cmddefs.tex

# Temporary files
*~
tags*

# Unignore (hack)
!build/clean.py

# Nosetests ouptut file
nosetests.xml

# Macintosh file
*.DS_Store

# JetBrains .idea folder
.idea
50 changes: 50 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
exclude: ".*/testdata/.*"
- id: check-merge-conflict
- id: debug-statements

- repo: https://github.com/asottile/reorder_python_imports
rev: v2.6.0
hooks:
- id: reorder-python-imports
files: ^src/|test/

- repo: local
hooks:
- id: mypy
name: mypy
entry: mypy --namespace-packages --package ait.core
language: system
pass_filenames: false
exclude: "bin/"

- repo: local
hooks:
- id: black
name: black
entry: black
files: ^src/|test/
language: system
types: [python]

- repo: local
hooks:
- id: flake8
name: flake8
entry: flake8 ait
language: system
pass_filenames: false

- repo: local
hooks:
- id: tests
name: Tests
entry: pytest
language: system
stages: [push]
pass_filenames: false

0 comments on commit 4009c81

Please sign in to comment.