False negatives of `py/flask-debug`
Aberta
- Linguagem predominante
- CodeQL
- Estrelas
- 10.1k
- Forks
- 2.1k
- Merge médio
- 2d 15h
- PRs com merge (30d)
- 141
Descrição
`py/flask-debug` misses some common ways to enable debug mode in Flask.
For example:
```python
app = Flask(__name__)
app.config['DEBUG'] = True # Enables debug mode
app.run()
---
class Settings:
DEBUG = True
settings = Settings()
app.run(debug=settings.DEBUG)
```
Guia de contribuição
Direção de pesquisa
Start by locating the py/flask-debug query and reproducing the two examples in the issue. Compare the query's behavior with both configuration-based and argument-based debug activation; done means these common Flask patterns are detected without regressing existing cases.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- flask, python
- Domínio
- security
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Pouca atividade
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 58/100