Unverified Commit f2852ad7 authored by Min Xu's avatar Min Xu Committed by GitHub
Browse files

[minor] RELEASE.md and pre-commit (#762)



* minor: changelog and pre-commit

* addressed comment

* update the release doc
Co-authored-by: default avatarMin Xu <min.xu.public@gmail.com>
parent 73f73120
# If you change the versions below, please make sure they are in-sync
# with requirements-test.txt
exclude: 'build|stubs' exclude: 'build|stubs'
default_language_version: default_language_version:
...@@ -20,7 +23,6 @@ repos: ...@@ -20,7 +23,6 @@ repos:
rev: 19.10b0 rev: 19.10b0
hooks: hooks:
- id: black - id: black
language_version: python3.7
- repo: https://gitlab.com/pycqa/flake8 - repo: https://gitlab.com/pycqa/flake8
rev: 3.7.9 rev: 3.7.9
......
...@@ -7,7 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -7,7 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## NEXT - TBD ## NEXT - TBD
### Fixed ### Fixed
### Added ### Added
......
...@@ -7,3 +7,5 @@ ...@@ -7,3 +7,5 @@
- git push --tags origin [your/branch] - git push --tags origin [your/branch]
- `python3 setup.py sdist` to build a new package (will be in dist/) - `python3 setup.py sdist` to build a new package (will be in dist/)
- `python3 -m twine upload --repository pypi dist/*` to upload to pypi - `python3 -m twine upload --repository pypi dist/*` to upload to pypi
- visit [this page](https://github.com/facebookresearch/fairscale/tags) and create the newly
tagged release.
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
# Tools for static checking. # Tools for static checking.
# - flake8-annotations is needed to avoid F811 error with overload # - flake8-annotations is needed to avoid F811 error with overload
# function typing with mypy. # function typing with mypy.
# - if you change versions below, please make sure it is in-sync with
# .pre-commit-config.yaml for pre-commit.
black == 19.10b0 black == 19.10b0
flake8 == 3.7.9 flake8 == 3.7.9
flake8-annotations == 2.6.2 flake8-annotations == 2.6.2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment