cabhishek opened a new pull request #3423:
URL: https://github.com/apache/iceberg/pull/3423


   * This PR adds tox commands to automate code formatting and type checking.
   * tox uses following 
   > - black for code formatting
   > - isort for import ordering
   > - autoflake for removing unused imports
   > - mypy for static type checking
   
   * Core tox commands
   > - `tox` will run tests and linters (code format and type checks). This is 
the central command that'll be most used.
   > - `tox -e format-check` will check if the code adheres to the standard
   >- `tox -e format` will reformat the code
   >- `tox -e type-check` will run static type checking
   
   * Future enhancements
   >- Add tox commands for documentation creation
   >- Perhaps add git pre-recommit hooks to make it more seamless?
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to