Skip to content

Commit

Permalink
🎉 Add configuration files for pre-commit hooks and project setup
Browse files Browse the repository at this point in the history
  • Loading branch information
NTGNguyen committed Dec 4, 2024
1 parent 179597f commit 0d55a52
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
repos:
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/PyCQA/flake8
rev: 7.1.1
hooks:
- id: flake8

- repo: https://github.com/hhatto/autopep8
rev: v2.3.1
hooks:
- id: autopep8
14 changes: 14 additions & 0 deletions .whitesource
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"scanSettings": {
"baseBranches": []
},
"checkRunSettings": {
"vulnerableCheckRunConclusionLevel": "failure",
"displayMode": "diff",
"useMendCheckNames": true
},
"issueSettings": {
"minSeverityLevel": "LOW",
"issueType": "DEPENDENCY"
}
}
19 changes: 19 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[project]
name = "LDA-QDA-FinalProject-CS115-UIT"
version = "0.1.0"
description = "Final Project In CS115(UIT) regarding LDA & QDA"
authors = [
{name = "NTGNguyen", email = "[email protected]"},
]
dependencies = []
requires-python = ">=3.12"
readme = "README.md"
license = {text = "MIT"}

[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"


[tool.pdm]
distribution = true
Empty file.
Empty file added tests/__init__.py
Empty file.

0 comments on commit 0d55a52

Please sign in to comment.