File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,5 +68,12 @@ docs = "mkdocs build" # run this to generate local documentation
6868[tool .pytest .ini_options ]
6969addopts = " --ignore='{{ cookiecutter.__project_slug }}'"
7070
71+ [tool .flake8 ]
72+ ignore = [" W503" ]
73+ max-line-length = 88
74+
75+ [tool .pydocstyle ]
76+ convention = " google"
77+
7178[tool .bandit ]
72- # section must exist
79+ exclude_dirs = [ " tests " ]
Original file line number Diff line number Diff line change 66
77def sanity_check_project (proj_path ):
88 """Sanity-check a generated project (linters, tests, doc generation)."""
9- subprocess .check_call ("poetry install --with docs" , cwd = proj_path , shell = True )
10- subprocess .check_call ("poetry run poe lint --all-files" , cwd = proj_path , shell = True )
11- subprocess .check_call ("poetry run poe test" , cwd = proj_path , shell = True )
12- subprocess .check_call ("poetry run poe docs" , cwd = proj_path , shell = True )
9+ subprocess .check_call ("poetry install --with docs" . split () , cwd = proj_path )
10+ subprocess .check_call ("poetry run poe lint --all-files" . split () , cwd = proj_path )
11+ subprocess .check_call ("poetry run poe test" . split () , cwd = proj_path )
12+ subprocess .check_call ("poetry run poe docs" . split () , cwd = proj_path )
1313
1414
1515@pytest .fixture
You can’t perform that action at this time.
0 commit comments