Kamil Śliwak 
							
						 
					 
					
						
						
						
						
							
						
						
							dece5f4de2 
							
						 
					 
					
						
						
							
							pylint: Enable and fix redefined-builtin warnings  
						
						
						
					 
					
						2021-12-21 15:30:11 +01:00 
						 
				 
			
				
					
						
							
							
								Kamil Śliwak 
							
						 
					 
					
						
						
						
						
							
						
						
							60ba3b307f 
							
						 
					 
					
						
						
							
							isolate_tests: Fix typo in script description  
						
						
						
					 
					
						2021-10-29 00:19:43 +02:00 
						 
				 
			
				
					
						
							
							
								Kamil Śliwak 
							
						 
					 
					
						
						
						
						
							
						
						
							b96de320e2 
							
						 
					 
					
						
						
							
							Fix the simplest pylint warnings (variables/imports, semicolons, etc) and re-enable them in pylintrc  
						
						
						
					 
					
						2021-10-13 16:19:16 +02:00 
						 
				 
			
				
					
						
							
							
								Kamil Śliwak 
							
						 
					 
					
						
						
						
						
							
						
						
							66a540ea01 
							
						 
					 
					
						
						
							
							Fix pylint warnings about the usage of f-strings  
						
						
						
					 
					
						2021-09-16 19:38:44 +02:00 
						 
				 
			
				
					
						
							
							
								Marenz 
							
						 
					 
					
						
						
						
						
							
						
						
							d844d84b51 
							
						 
					 
					
						
						
							
							Test yul code blocks in documentation.  
						
						
						
					 
					
						2021-07-08 14:59:05 +02:00 
						 
				 
			
				
					
						
							
							
								Marenz 
							
						 
					 
					
						
						
						
						
							
						
						
							5291ca2dd4 
							
						 
					 
					
						
						
							
							isolate_tests: Extract code blocks from documentation using code block header  
						
						
						
					 
					
						2021-07-06 16:57:05 +02:00 
						 
				 
			
				
					
						
							
							
								Marenz 
							
						 
					 
					
						
						
						
						
							
						
						
							f62b80530b 
							
						 
					 
					
						
						
							
							Fix isolate_tests when run with single files and add usage information  
						
						
						
					 
					
						2021-07-01 15:18:32 +02:00 
						 
				 
			
				
					
						
							
							
								hrkrshnn 
							
						 
					 
					
						
						
						
						
							
						
						
							0ef7d27dbd 
							
						 
					 
					
						
						
							
							Fix pylint issues  
						
						
						
					 
					
						2021-06-30 10:38:37 +02:00 
						 
				 
			
				
					
						
							
							
								Kamil Śliwak 
							
						 
					 
					
						
						
						
						
							
						
						
							0311b955c2 
							
						 
					 
					
						
						
							
							isolate_tests.py: Parse Sphinx block parameters correctly  
						
						
						
					 
					
						2021-06-21 20:54:12 +02:00 
						 
				 
			
				
					
						
							
							
								Kamil Śliwak 
							
						 
					 
					
						
						
						
						
							
						
						
							978c25f1a4 
							
						 
					 
					
						
						
							
							Fix typos in isolate_tests.py  
						
						
						
					 
					
						2021-03-10 20:42:46 +01:00 
						 
				 
			
				
					
						
							
							
								Kamil Śliwak 
							
						 
					 
					
						
						
						
						
							
						
						
							151df00bb0 
							
						 
					 
					
						
						
							
							Read/write files in python with newline='' option to preserve newlines as \n on Windows  
						
						
						
					 
					
						2021-01-22 12:16:27 +01:00 
						 
				 
			
				
					
						
							
							
								a3d4 
							
						 
					 
					
						
						
						
						
							
						
						
							ad311fae19 
							
						 
					 
					
						
						
							
							Improve error coverage of syntax checker  
						
						
						
					 
					
						2020-08-20 03:23:21 +02:00 
						 
				 
			
				
					
						
							
							
								Mathias Baumann 
							
						 
					 
					
						
						
						
						
							
						
						
							53dd818e96 
							
						 
					 
					
						
						
							
							Ignore UTF errors when handling test files in python  
						
						
						
					 
					
						2020-08-17 17:06:06 +02:00 
						 
				 
			
				
					
						
							
							
								Mathias Baumann 
							
						 
					 
					
						
						
						
						
							
						
						
							7f3d437ffe 
							
						 
					 
					
						
						
							
							Fix caret position for errors with utf source  
						
						
						
					 
					
						2020-05-25 14:27:03 +02:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							bcc4bbcad7 
							
						 
					 
					
						
						
							
							Update test extraction script to recognize license identifier.  
						
						
						
					 
					
						2020-05-13 22:16:34 +02:00 
						 
				 
			
				
					
						
							
							
								Kamil Śliwak 
							
						 
					 
					
						
						
						
						
							
						
						
							a80b032081 
							
						 
					 
					
						
						
							
							Fix inconsistent indentation in scripts/  
						
						... 
						
						
						
						- NOT reindenting all files. Just choosing one style in files that were using multiple. 
						
					 
					
						2020-04-17 19:09:02 +02:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							8f36dd1571 
							
						 
					 
					
						
						
							
							Fix extract tests on windows.  
						
						
						
					 
					
						2020-01-23 16:36:46 +01:00 
						 
				 
			
				
					
						
							
							
								Christian Parpart 
							
						 
					 
					
						
						
						
						
							
						
						
							44e892634b 
							
						 
					 
					
						
						
							
							Use Python 3 instead of Python 2 (EOL'd)  
						
						
						
					 
					
						2020-01-15 14:20:43 +01:00 
						 
				 
			
				
					
						
							
							
								Erik Kundt 
							
						 
					 
					
						
						
						
						
							
						
						
							ec53899a10 
							
						 
					 
					
						
						
							
							Fixes source extraction from docs.  
						
						
						
					 
					
						2019-10-23 22:13:24 +02:00 
						 
				 
			
				
					
						
							
							
								Chris Chinchilla 
							
						 
					 
					
						
						
						
						
							
						
						
							85ec44826a 
							
						 
					 
					
						
						
							
							Add style checker  
						
						... 
						
						
						
						Rename files
Changes from review
Update test/docsCodeStyle.sh
Co-Authored-By: chriseth <chris@ethereum.org>
Update test/docsCodeStyle.sh
Co-Authored-By: chriseth <chris@ethereum.org>
Remove extraneous brackets 
						
					 
					
						2019-08-05 13:00:30 +02:00 
						 
				 
			
				
					
						
							
							
								Daniel Kirchner 
							
						 
					 
					
						
						
						
						
							
						
						
							69673f5a4b 
							
						 
					 
					
						
						
							
							Include origin filename in the filenames generated by isolate_tests.py.  
						
						
						
					 
					
						2018-09-06 18:03:38 +02:00 
						 
				 
			
				
					
						
							
							
								Daniel Kirchner 
							
						 
					 
					
						
						
						
						
							
						
						
							a102f3b783 
							
						 
					 
					
						
						
							
							Remove trailing whitespace for all files in the repository.  
						
						
						
					 
					
						2018-09-04 11:30:30 +02:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							6a5a187d83 
							
						 
					 
					
						
						
							
							Also extract tests that do not start with a pragma.  
						
						
						
					 
					
						2018-08-14 15:50:46 +02:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							f873389c62 
							
						 
					 
					
						
						
							
							Test that documentation does not contain any warnings.  
						
						
						
					 
					
						2018-08-14 15:50:46 +02:00 
						 
				 
			
				
					
						
							
							
								Matías A. Ré Medina 
							
						 
					 
					
						
						
						
						
							
						
						
							5640eba382 
							
						 
					 
					
						
						
							
							Update isolate_tests to use simple quotes consistently.  
						
						... 
						
						
						
						The previous code had double quotes and the project uses simple quotes. 
						
					 
					
						2018-07-09 11:28:34 +01:00 
						 
				 
			
				
					
						
							
							
								Matías A. Ré Medina 
							
						 
					 
					
						
						
						
						
							
						
						
							1ebeb7e588 
							
						 
					 
					
						
						
							
							Change isolate_tests to support single files as an input  
						
						... 
						
						
						
						On the documentation the examples for the usage of isolate_tests.py are shown with single files, and it's currently not working. It only works for folders or wildcards that return more than one file, since that's how os.walk works within a loop for that cases.
Proposed an simple and easy fix.
I extracted the core functionality for extracting tests from files, and made another function called `extract_and_write`
If the program receives a single file the function `extract_and_write` is called once, it even works for `docs` when specified.
If the program receives a path or a wildcard, works as used to. 
						
					 
					
						2018-07-09 11:28:09 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel Kirchner 
							
						 
					 
					
						
						
						
						
							
						
						
							09c3317bd8 
							
						 
					 
					
						
						
							
							Correctly choose python version for scripts requiring python2.  
						
						
						
					 
					
						2018-06-15 16:29:42 +02:00 
						 
				 
			
				
					
						
							
							
								Daniel Kirchner 
							
						 
					 
					
						
						
						
						
							
						
						
							49eaf7c3fd 
							
						 
					 
					
						
						
							
							Infrastructure for extracting syntax tests in separate test files.  
						
						
						
					 
					
						2018-03-13 11:20:11 +01:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							d3b447c203 
							
						 
					 
					
						
						
							
							Ignore the docs build directory.  
						
						
						
					 
					
						2017-07-13 21:47:29 +02:00 
						 
				 
			
				
					
						
							
							
								Alex Beregszaszi 
							
						 
					 
					
						
						
						
						
							
						
						
							32a76f15e0 
							
						 
					 
					
						
						
							
							Upgrade isolate_tests.py to support extracting code from docs  
						
						
						
					 
					
						2017-07-13 17:10:37 +02:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							b18aea315d 
							
						 
					 
					
						
						
							
							Isolate test cases from all tests and store under hash.  
						
						
						
					 
					
						2017-03-23 09:56:17 +01:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							5a939c4e1a 
							
						 
					 
					
						
						
							
							Correctly find contracts with other delimiters.  
						
						
						
					 
					
						2017-03-15 12:07:59 +01:00 
						 
				 
			
				
					
						
							
							
								Federico Bond 
							
						 
					 
					
						
						
						
						
							
						
						
							72f9a4a73e 
							
						 
					 
					
						
						
							
							Cleanup and fix scripts/isolate_tests.py  
						
						
						
					 
					
						2016-12-06 19:21:38 -03:00 
						 
				 
			
				
					
						
							
							
								Federico Bond 
							
						 
					 
					
						
						
						
						
							
						
						
							7a46e15efd 
							
						 
					 
					
						
						
							
							Rename isolateTests.py script to isolate_tests.py  
						
						
						
					 
					
						2016-12-06 19:21:10 -03:00