Skip to content

Commit

Permalink
Merge pull request #2 from SamhammerAG/task/KIT-3262
Browse files Browse the repository at this point in the history
KIT-3262 added note on testing to readme
  • Loading branch information
cwehmeier committed Mar 12, 2024
2 parents 63ca4ad + aff3613 commit 2b8c9c8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
"python.formatting.blackArgs": [ "--line-length=120" ],
"[python]": { "editor.formatOnSave": true },
"[json]": { "editor.formatOnSave": true},
"editor.codeActionsOnSave": { "source.organizeImports": true },
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
},
"python.linting.mypyEnabled": true,
"mypy.targets": [
// Required by dmypy - otherwise mypy has an error in vscode
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,13 @@ Just install vscode with dev containers extension. All required extensions and c
* Create a tag with the same version number
* Let github do the rest

## How to test

To avoid publishing to pypi unnecessarily you can do as follows

* Tag your branch however you like
* Use the chosen tag in the requirements.txt-file of the project you want to test this library in, eg. `sag_py_web_common==<your tag>`
* Rebuild/redeploy your project

[codeclimate-image]:https://api.codeclimate.com/v1/badges/533686a1f4d644151adb/maintainability
[codeclimate-url]:https://codeclimate.com/github/SamhammerAG/sag_py_web_common/maintainability
Expand Down

0 comments on commit 2b8c9c8

Please sign in to comment.