Skip to content

Commit

Permalink
Document and polish
Browse files Browse the repository at this point in the history
  • Loading branch information
asmacdo committed May 13, 2024
1 parent 8999321 commit 717ba15
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ __pycache__/
src/__pycache__/
duct.egg-info/
.coverage
coverage.*
.duct/
.idea
.tox/
11 changes: 11 additions & 0 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,14 @@ The following pull request labels are respected:
* tests: Add or improve existing tests
* dependencies: Update one or more dependencies version
* performance: Improve performance of an existing feature


Testing
-------
If you are contributing code, please consider adding a unit test.

To run the tests:
`tox`

To run tests on one file (args after -- are passed to pytest):
`tox -- test/test_my_thing.py`
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[tox]
envlist = lint,typing,py38,py39,py310,py311,py312,pypy3
# envlist = lint,py37,py38,py39,py310,py311,py312,pypy3
skip_missing_interpreters = True
isolated_build = True
minversion = 3.3.0
Expand Down

0 comments on commit 717ba15

Please sign in to comment.