Skip to content

Commit

Permalink
feat: version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PrivacyGo-PETPlatform committed Jul 1, 2024
0 parents commit 93e8943
Show file tree
Hide file tree
Showing 103 changed files with 8,534 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[run]
concurrency=multiprocessing
include =
petml/*
omit =
tests/*
petml/infra/abc/*
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
### Python template
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
*.DS_Store

# ide
.idea/*
venv/*
39 changes: 39 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
default_language_version:
# force all unspecified python hooks to run python3
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
- id: end-of-file-fixer
- id: forbid-submodules
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/google/yapf/
rev: v0.40.2
hooks:
- id: yapf
name: yapf
language: python
entry: yapf
args: ["--style=.style.yapf", "-i"]
types: [python]
- repo: https://github.com/pylint-dev/pylint/
rev: v3.0.2
hooks:
- id: pylint
name: pylint
entry: pylint
language: python
types: [python]
args:
[
"-rn", # Only display messages
"-sn", # Don't display the score
"--rcfile=.pylintrc"
]
Loading

0 comments on commit 93e8943

Please sign in to comment.