Are you sure you want to delete this access key?
Here is a simple guideline to get you started with your first contribution.
feature/SG-***
or hotfix/SG-***
format otherwise it will fail.We follow the reStructuredText docstring format (default of PyCharm), along with typing.
def python_function(first_argument: int, second_argument: int) -> str:
"""Do something with the two arguments.
:param first_argument: First argument to the function
:param second_argument: Second argument to the function
:return: Description of the output
"""
We enforce black code formatting in addition to existing flake8 checks.
To ensure everyone uses same code style, a project-wise configuration file has been added to SG repo. It ensures all formatting will be exactly the same regardless of OS, python version or the place where code formatting check is happening.
To start, one need to install required development dependencies (actual versions of black, flake8 and git commit hooks):
$ pip install -r requirements.dev.txt
A pre-commit hook as an easy way to ensure all files in the commit are already formatted accordingly and pass linter checks. If they are not, the git will prevent commit of problematic files unless errors are fixed.
To start, run the following command from SG repo root:
$ pip install pre-commit
$ pre-commit install
The command should complete without errors. Once done, all your upcoming commits will be checked via black & flake8.
Just run $ black .
from the SG root. It will reformat the whole repo.
For flake8: $ flake8 --statistics --config scripts/flake8-config setup.py .
Signed commits provide a way to verify the authenticity and integrity of the code changes made by a particular developer, as the commit is cryptographically signed using their private GPG key. This helps ensure that the code changes were made by the intended person and have not been tampered with during transit.
You can find more information here.
$ gpg --armor --export 3AA5C34371567BD2
$ git config --global user.signingkey 3AA5C34371567BD2
$ git config --global gpg.program /usr/local/bin/gpg
$ git config --global commit.gpgsign true
Pulling updates from remote might cause merge conflicts with jupyter notebooks. The tool nbdime might solve this.
pip install ndime
nbdiff notebook_1.ipynb notebook_2.ipynb
Press p or to see the previous file or, n or to see the next file
Browsing data directories saved to S3 is possible with DAGsHub. Let's configure your repository to easily display your data in the context of any commit!
super-gradients is now integrated with AWS S3!
Are you sure you want to delete this access key?
Browsing data directories saved to Google Cloud Storage is possible with DAGsHub. Let's configure your repository to easily display your data in the context of any commit!
super-gradients is now integrated with Google Cloud Storage!
Are you sure you want to delete this access key?
Browsing data directories saved to Azure Cloud Storage is possible with DAGsHub. Let's configure your repository to easily display your data in the context of any commit!
super-gradients is now integrated with Azure Cloud Storage!
Are you sure you want to delete this access key?
Browsing data directories saved to S3 compatible storage is possible with DAGsHub. Let's configure your repository to easily display your data in the context of any commit!
super-gradients is now integrated with your S3 compatible storage!
Are you sure you want to delete this access key?