You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
├── requirements-dev.txt # Development requirements file
45
45
├── requirements.txt # Requirements file
46
46
├── setup.cfg # Configuration file for flake8, mypy
@@ -73,14 +73,14 @@ The expected layout is:
73
73
Copy [.pre-commit-config.yaml](.pre-commit-config.yaml) to the root directory of your repo and follow the [installation](https://pre-commit.com/#installation) instructions to run it.
74
74
75
75
Take the workflow for a spin by making a PR in your repo.
76
-
-`black`, `flake8`, and `mypy` configurations are in [setup.cfg](setup.cfg); `interrogate`, and `pytest` are in [pyproject.toml](pyproject.toml); code climate configurations are in [.codeclimate.yml](.codeclimate.yml), update as needed.
77
-
-**UPDATE** in [setup.cfg](setup.cfg), in`[mypy]`section, `files = ./tests,./projectname`
76
+
-`black`and `flake8` configurations are in [setup.cfg](setup.cfg); `interrogate`,`mypy` and `pytest` are in [pyproject.toml](pyproject.toml); code climate configurations are in [.codeclimate.yml](.codeclimate.yml), update as needed.
77
+
-**UPDATE** in [pyproject.toml](pyproject.toml), added`[tool.mypy]`and `[[tool.mypy.overrides]]` section.
78
78
- For more config tips see the FAQ below or raise an issue labeled "question".
79
79
80
80
- - -
81
81
### How it works:
82
82
83
-
- This workflow uses the configuration files for black, flake8, mypy from the [setup.cfg](setup.cfg); interrogate and pytest from [pyproject.toml](pyproject.toml) and for code analysis from [.codeclimate.yml](.codeclimate.yml) respectively.
83
+
- This workflow uses the configuration files for black and flake8from the [setup.cfg](setup.cfg); interrogate, mypy and pytest from [pyproject.toml](pyproject.toml) and for code analysis from [.codeclimate.yml](.codeclimate.yml) respectively.
84
84
- This workflow also creates intermediate output files during the CI build, under `output/` folder, mentioned below:
85
85
-`output/coverage.xml` - contains the coverage report - generated by coverage.py.
86
86
-`output/docstring_report.txt` - contains the docstring report - generated by interrogate.
0 commit comments