Skip to content

Commit

Permalink
Adiciona link encurtado para o repositório. Adiciona .flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
itepifanio committed Sep 15, 2023
1 parent 2a1b731 commit 98dccd4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# E402 -> Module level import not at top of file
# Cause : We might use some imports for testing inside the nbs.
# F401 -> Module imported but unused
# F403 -> 'from module import *' used; unable to detect undefined names
# F405 -> Name may be undefined, or defined from star imports: module
# E265 -> comment block should start with '# '
# Cause : Avoid error with nbdev commands: #|
[flake8]
ignore = E402,F401,F403,F405,E265
6 changes: 4 additions & 2 deletions presentation/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -627,13 +627,15 @@ Na interface Test PyPI acesse `Account Settings >> Api Tokens >> Add Api Token`

Adicionando arquivos `.github/worflows/*.yaml`

Vá para (TODO::add link) e copie as pastas `scripts` e `.github` para seu repositório
- Vá para https://l1nq.com/nb-pyne-2023
- Copie as pastas `scripts`, `.github` para seu repositório
- Copie o arquivo `.flake8` para o seu repositório

## Publishing using CI

:::{.callout-note}
- Atualize a versão da biblioteca `nbdev_bump_version`
- Adicione `dev_requirements = nbdev` no arquivo `setting.ini`
- Adicione `dev_requirements = nbdev autopep8 flake8 mypy` no arquivo `setting.ini`
- Realize um commit e dê push nas suas mudanças
- Verifique se os teste e lint estão passando
- Crie uma nova release na interface do Github
Expand Down

0 comments on commit 98dccd4

Please sign in to comment.