2022-08-18 18:19:54 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2014-05-17 20:22:21 -07:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								[tox]
							 | 
						
					
						
							
								
									
										
										
										
											2024-06-10 17:42:29 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								# TODO: i had to remove py36 since something (hatchling?) broke it
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# somehow, and i was not able to quickly fix.  as of writing only
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# one app is known to run py36 and hopefully that is not for long.
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								envlist = py37, py38, py39, py310, py311
							 | 
						
					
						
							
								
									
										
										
										
											2023-12-04 10:15:12 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# TODO: can remove this when we drop py36 support
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# nb. need this for testing older python versions
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# https://tox.wiki/en/latest/faq.html#testing-end-of-life-python-versions
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								requires = virtualenv<20.22.0
							 | 
						
					
						
							
								
									
										
										
										
											2014-05-17 20:22:21 -07:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								[testenv]
							 | 
						
					
						
							
								
									
										
										
										
											2023-12-04 10:15:12 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								deps = rattail-tempmon
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								extras = tests
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								commands = pytest {posargs}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								[testenv:py37]
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# nb. Chameleon 4.3 requires Python 3.9+
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								deps = Chameleon<4.3
							 | 
						
					
						
							
								
									
										
										
										
											2014-05-17 20:22:21 -07:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								[testenv:coverage]
							 | 
						
					
						
							
								
									
										
										
										
											2020-12-04 18:27:47 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								basepython = python3
							 | 
						
					
						
							
								
									
										
										
										
											2023-12-04 10:15:12 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								extras = tests
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								commands = pytest --cov=tailbone --cov-report=html
							 | 
						
					
						
							
								
									
										
										
										
											2014-05-17 20:22:21 -07:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								[testenv:docs]
							 | 
						
					
						
							
								
									
										
										
										
											2020-12-04 18:27:47 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								basepython = python3
							 | 
						
					
						
							
								
									
										
										
										
											2014-05-17 20:22:21 -07:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								changedir = docs
							 | 
						
					
						
							
								
									
										
										
										
											2023-12-04 10:15:12 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								extras = docs
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								commands = sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs
							 |