Skip to content

Commit

Permalink
init(setup): add dotenv and modify pylintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
arn355 committed Sep 29, 2023
1 parent 78145f9 commit 3b361e9
Show file tree
Hide file tree
Showing 8 changed files with 728 additions and 66 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MONGO_URI="mongodb+srv://spelling-dee:p9ymWnSzP0H8OH2t@spelling-dee.4ckhrqz.mongodb.net/app"
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MONGO_URI=
47 changes: 27 additions & 20 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,27 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-merge-conflict
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
language: python
types: [python]
- id: autopep8
name: autopep8
entry: autopep8
language: python
types: [python]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-merge-conflict
- repo: local
hooks:
- id: autopep8
name: Run Formatter
entry: autopep8
language: python
types: [python]
args: [-i]
- id: pylint
name: Run Linter
entry: pylint
language: python
types: [python]
args:
[
"-rn",
"-sn",
"--rcfile=.pylintrc",
]
Loading

0 comments on commit 3b361e9

Please sign in to comment.