Skip to content

Commit

Permalink
Merge pull request #88 from billsioros/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
billsioros authored May 12, 2022
2 parents 5cdb666 + 4b1a964 commit ba2ca2e
Show file tree
Hide file tree
Showing 13 changed files with 6 additions and 5,495 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ on:
- 'cookiecutter-pypackage/**/*.py'
- 'tests/**/*.py'
- 'pyproject.toml'
- 'poetry.lock'
pull_request:
branches: [master]
paths:
- 'cookiecutter-pypackage/**/*.py'
- 'tests/**/*.py'
- 'pyproject.toml'
- 'poetry.lock'

jobs:
tox:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@ on:
paths:
- 'cookiecutter-pypackage/**/*.py'
- 'pyproject.toml'
- 'poetry.lock'
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
paths:
- 'cookiecutter-pypackage/**/*.py'
- 'pyproject.toml'
- 'poetry.lock'
schedule:
- cron: "0 23 * * *"

Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ ipython_config.py
#Pipfile.lock

# poetry
#poetry.lock
poetry.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/
Expand Down
11 changes: 1 addition & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
ci:
skip: [export-requirements]
autofix_commit_msg: 'refactor: `pre-commit.ci` auto fix'
autofix_prs: true
autoupdate_commit_msg: 'ci: `pre-commit.ci` auto update'
Expand Down Expand Up @@ -39,7 +38,7 @@ repos:
- id: debug-statements
exclude: ^{{cookiecutter.project_name}}
- repo: https://github.com/commitizen-tools/commitizen
rev: v2.24.0
rev: v2.25.0
hooks:
- id: commitizen
stages: [commit-msg]
Expand All @@ -58,14 +57,6 @@ repos:
hooks:
- id: tox-ini-fmt
exclude: ^{{cookiecutter.project_name}}
- repo: local
hooks:
- id: export-requirements
name: export-requirements
language: system
pass_filenames: false
entry: poetry export --without-hashes --dev -o requirements.txt
files: ^(pyproject.toml|poetry.lock)$
- repo: meta
hooks:
- id: check-hooks-apply
Expand Down
1 change: 1 addition & 0 deletions hooks/post_gen_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def wrapper(*args, **kwargs):
def install_dependencies():
yield 'poetry', 'shell'
yield 'poetry', 'install'
yield 'poetry', 'update'


@transactional
Expand Down
Loading

0 comments on commit ba2ca2e

Please sign in to comment.