File tree Expand file tree Collapse file tree 5 files changed +6
-22
lines changed
{{cookiecutter.project_slug}} Expand file tree Collapse file tree 5 files changed +6
-22
lines changed Original file line number Diff line number Diff line change @@ -20,24 +20,6 @@ repos:
2020 name : lint
2121 stages : [commit, push]
2222 language : system
23- entry : poe lint
24- types : [python]
25- pass_filenames : false
26- - repo : local
27- hooks :
28- - id : pytest
29- name : pytest
30- stages : [commit, push]
31- language : system
32- entry : poe test
33- types : [python]
34- pass_filenames : false
35- - repo : local
36- hooks :
37- - id : api-documentation
38- name : api-documentation
39- stages : [push]
40- language : system
41- entry : poe doc-html
23+ entry : poetry run -c lint
4224 types : [python]
4325 pass_filenames : false
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 3030 "Background:" ,
3131)
3232ignore_lines = ("@" , "#" )
33- features_dir = docs_parent_dir / "features"
33+ features_dir = docs_parent_dir / "bdd- features"
3434for feature_path in features_dir .glob ("**/*.feature" ):
3535 with open (feature_path , "r" ) as f :
3636 relative_dir = feature_path .parent .relative_to (features_dir )
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ testpaths = [
9797python_files = [" *_test.py" ]
9898python_functions = [" test_*" ]
9999render_collapsed = true
100- bdd_features_base_dir = " features"
100+ bdd_features_base_dir = " bdd- features"
101101
102102[tool .coverage .report ]
103103exclude_lines = [
@@ -116,7 +116,9 @@ install = "poetry install --only main"
116116install-dev = " poetry install"
117117run = " python -m {{cookiecutter.package_name}}.{{cookiecutter.module_name}}"
118118test = " pytest"
119- pre-commit = " pre-commit run --all-files"
119+ install-pre-commit = " pre-commit install"
120+ run-pre-commit = " pre-commit run --all-files"
121+ pre-commit = [" install-pre-commit" , " run-pre-commit" ]
120122lint-ruff = " ruff check **/*.py --fix"
121123lint-black = " black **/*.py"
122124lint = [" lint-black" , " lint-ruff" ]
You can’t perform that action at this time.
0 commit comments