Skip to content

Commit

Permalink
Merge pull request #28 from velexi-research/dev/0.6.3
Browse files Browse the repository at this point in the history
Polish .gitignore. Polish pre-commit configuration.
  • Loading branch information
ktchu committed Jun 19, 2023
2 parents f2b356a + 4efa27e commit 9a8beea
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 27 deletions.
26 changes: 13 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
# --- Python files
# --- Environments

# direnv
.direnv
.envrc

# conda
.conda

# Python virtual environment
.venv

# --- Python

# compiled code
__pycache__/
Expand All @@ -12,18 +24,6 @@ htmlcov/
.pytest_cache
.tox/

# --- Environments

# direnv
.direnv
.envrc

# conda
.conda

# common manually-created Python virtual environments
.venv

# --- Code editors

# VS Code
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ repos:
entry: black
language: python
types: [python]
exclude: ^{{cookiecutter.project_name}}
exclude: ^spikes
- id: flake8
name: flake8
entry: flake8
language: python
types: [python]
exclude: ^{{cookiecutter.project_name}}|^spikes
exclude: ^spikes
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
hooks:
Expand Down
11 changes: 11 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
Velexi Python Package Cookiecutter Release Notes
================================================

-------------------------------------------------------------------------------
0.6.3 (2023-06-19)
==================
### Cookiecutter Template
* Polish .gitignore.
* Polish pre-commit configuration.

### Cookiecutter Development
* Polish .gitignore.
* Polish pre-commit configuration.

-------------------------------------------------------------------------------
0.6.2 (2023-06-18)
==================
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "Velexi Python Project Cookiecutter"
version = "0.6.2"
version = "0.6.3"
description = "Template for Python projects"
license = "Apache-2.0"
authors = ["Kevin Chu <kevin@velexi.com>"]
Expand Down
36 changes: 25 additions & 11 deletions {{cookiecutter.__project_name}}/.gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,29 @@
# --- Python files
# --- Environments

# direnv
.direnv
.envrc

# conda
.conda

# Python virtual environment
.venv

# --- Python

# pyenv
.python-version

# compiled code
__pycache__/
*.py[cod]

# setuptools
/dist/
*.egg-info/
*.egg*

# testing
htmlcov/
.cache
Expand All @@ -12,17 +32,11 @@ htmlcov/
.pytest_cache
.tox/

# --- Environments
# pdoc auto-generated documentation
docs/{{cookiecutter.__project_name}}

# direnv
.direnv
.envrc

# conda
.conda

# common manually-created Python virtual environments
.venv
# DotEnv configuration
.env

# --- Code editors

Expand Down
2 changes: 2 additions & 0 deletions {{cookiecutter.__project_name}}/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ repos:
entry: black
language: python
types: [python]
exclude: ^spikes
- id: flake8
name: flake8
entry: flake8
language: python
types: [python]
exclude: ^spikes
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
hooks:
Expand Down

0 comments on commit 9a8beea

Please sign in to comment.