Skip to content

Commit

Permalink
KIT-3282 added note on testing to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fabsalamov committed Mar 5, 2024
1 parent 8f83521 commit ec41aea
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,18 @@
"python.linting.enabled": true,
"python.linting.flake8Enabled": true,
"python.formatting.provider": "black",
"python.formatting.blackArgs": [ "--line-length=120" ],
"[python]": { "editor.formatOnSave": true },
"[json]": { "editor.formatOnSave": true},
"editor.codeActionsOnSave": { "source.organizeImports": true },
"python.formatting.blackArgs": [
"--line-length=120"
],
"[python]": {
"editor.formatOnSave": true
},
"[json]": {
"editor.formatOnSave": true
},
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
},
"python.linting.mypyEnabled": true,
"mypy.targets": [
// Required by dmypy - otherwise mypy has an error in vscode
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,11 @@ Just install vscode with dev containers extension. All required extensions and c
* Update the version in setup.py and commit your change
* 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_logging==<your tag>`
* Rebuild/redeploy your project

0 comments on commit ec41aea

Please sign in to comment.