kevinjqliu commented on PR #1534:
URL: https://github.com/apache/iceberg-python/pull/1534#issuecomment-2649504621

   @mattmartin14 i tried to fix as many linter issue as possible, the changes 
are in 
https://github.com/apache/iceberg-python/compare/main...kevinjqliu:iceberg-python:kevinjqliu/1534-upsert?expand=1
 
   
   Feel free to cherry-pick the commits. 
   
   There are still a few linter issue left, some of which i didn't get time to 
dig into
   ```
   
mypy.....................................................................Failed
   - hook id: mypy
   - exit code: 1
   
   pyiceberg/table/upsert_util.py:59: error: Statement is unreachable  
[unreachable]
   pyiceberg/table/upsert_util.py:75: error: Statement is unreachable  
[unreachable]
   pyiceberg/table/upsert_util.py:104: error: Missing type parameters for 
generic type "list"  [type-arg]
   pyiceberg/table/upsert_util.py:114: error: Statement is unreachable  
[unreachable]
   pyiceberg/table/upsert_util.py:116: error: Unsupported operand type for ~ 
("Any | None")  [operator]
   Found 5 errors in 1 file (checked 145 source files)
   ```
   
   > i was able to run: ruff check --fix
   
   we dont use ruff directly, there are some rules that are applied. does `make 
lint` work for you? 
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to