Christophe Bornet 
							
						 
					 
					
						
						
							
						
						42944f3499 
					 
					
						
						
							
							core: Improve mypy config ( #30737 )  
						
						... 
						
						
						
						* Cleanup mypy config
* Add mypy `strict` rules except `disallow_any_generics`,
`warn_return_any` and `strict_equality` (TODO)
* Add mypy `strict_byte` rule
* Add mypy support for PEP702 `@deprecated` decorator
* Bump mypy version to 1.15
---------
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com > 
						
						
					 
					
						2025-04-11 16:35:13 -04:00 
						 
				 
			
				
					
						
							
							
								Christophe Bornet 
							
						 
					 
					
						
						
							
						
						913c896598 
					 
					
						
						
							
							core: Add ruff rules FBT001 and FBT002 ( #30695 )  
						
						... 
						
						
						
						Add ruff rules
[FBT001](https://docs.astral.sh/ruff/rules/boolean-type-hint-positional-argument/ )
and
[FBT002](https://docs.astral.sh/ruff/rules/boolean-default-value-positional-argument/ ).
Mostly `noqa`s to not introduce breaking changes and possible
non-breaking fixes have already been done in a [previous
PR](https://github.com/langchain-ai/langchain/pull/29424 ).
These rules will prevent new violations to happen. 
						
						
					 
					
						2025-04-11 16:26:33 -04:00 
						 
				 
			
				
					
						
							
							
								Christophe Bornet 
							
						 
					 
					
						
						
							
						
						f0159c7125 
					 
					
						
						
							
							core: Add ruff rules PGH (except PGH003) ( #30656 )  
						
						... 
						
						
						
						Add ruff rules PGH: https://docs.astral.sh/ruff/rules/#pygrep-hooks-pgh 
Except PGH003 which will be dealt in a dedicated PR.
---------
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com >
Co-authored-by: Eugene Yurtsev <eugene@langchain.dev > 
						
						
					 
					
						2025-04-04 19:53:27 +00:00 
						 
				 
			
				
					
						
							
							
								ZhangShenao 
							
						 
					 
					
						
						
							
						
						a14e02ab33 
					 
					
						
						
							
							core[patch]: Fix word spelling error in globals.py ( #24532 )  
						
						... 
						
						
						
						Fix word spelling error in `globals.py`
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com > 
						
						
					 
					
						2024-07-23 14:27:16 +00:00 
						 
				 
			
				
					
						
							
							
								Leonid Ganeline 
							
						 
					 
					
						
						
							
						
						198b85334f 
					 
					
						
						
							
							core[patch]: docstrings langchain_core/ files update ( #24285 )  
						
						... 
						
						
						
						Added missed docstrings. Formatted docstrings to the consistent form. 
						
						
					 
					
						2024-07-16 09:21:51 -04:00 
						 
				 
			
				
					
						
							
							
								Leonid Ganeline 
							
						 
					 
					
						
						
							
						
						2c9b84c3a8 
					 
					
						
						
							
							core[patch]: docstrings agents ( #23502 )  
						
						... 
						
						
						
						Added missed docstrings. Formatted docstrings to the consistent form. 
						
						
					 
					
						2024-06-26 17:50:48 -04:00 
						 
				 
			
				
					
						
							
							
								Leonid Ganeline 
							
						 
					 
					
						
						
							
						
						d314acb2d5 
					 
					
						
						
							
							core[patch]: Move globals to a module instead of a package (non breaking change) ( #19159 )  
						
						... 
						
						
						
						Classes and functions defined in __init__.py are not parsed into the API
Reference.
For example: libs/core/langchain_core/globals/__init__.py :
`set_verbose` `get_llm_cache`, `set_llm_cache`, ...
And the whole `langchain_core.globals` namespace is not visible in the
API Reference. The refactoring is just file renaming. 
						
						
					 
					
						2024-03-19 12:29:12 -04:00