mirror of
				https://github.com/enpaul/tox-poetry-installer.git
				synced 2025-11-03 07:39:20 +00:00 
			
		
		
		
	Update to use new poetry 1.2+ command syntax
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@@ -33,7 +33,7 @@ test: ## Run the project testsuite(s)
 | 
				
			|||||||
	poetry run tox --recreate
 | 
						poetry run tox --recreate
 | 
				
			||||||
 | 
					
 | 
				
			||||||
dev: ## Create the local dev environment
 | 
					dev: ## Create the local dev environment
 | 
				
			||||||
	poetry install -E poetry --sync
 | 
						poetry install --extras poetry --sync
 | 
				
			||||||
	poetry run pre-commit install
 | 
						poetry run pre-commit install
 | 
				
			||||||
 | 
					
 | 
				
			||||||
publish: test wheel source ## Build and upload to pypi (requires $PYPI_API_KEY be set)
 | 
					publish: test wheel source ## Build and upload to pypi (requires $PYPI_API_KEY be set)
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										3
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								tox.ini
									
									
									
									
									
								
							@@ -83,7 +83,8 @@ commands =
 | 
				
			|||||||
      --format requirements.txt \
 | 
					      --format requirements.txt \
 | 
				
			||||||
      --output {envtmpdir}/requirements.txt \
 | 
					      --output {envtmpdir}/requirements.txt \
 | 
				
			||||||
      --without-hashes \
 | 
					      --without-hashes \
 | 
				
			||||||
      --dev
 | 
					      --with dev \
 | 
				
			||||||
 | 
					      --extras poetry
 | 
				
			||||||
    safety check \
 | 
					    safety check \
 | 
				
			||||||
      --file {envtmpdir}/requirements.txt \
 | 
					      --file {envtmpdir}/requirements.txt \
 | 
				
			||||||
      --json
 | 
					      --json
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user