theskumar / theskumar/python-dotenv

Raise exceptions when encountering errors in files.

Abierto
#467 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Lenguaje dominante
Python
Estrellas
8.9k
Forks
581
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

The current behaviour of the set_key and get_key functions is to warn for invalid lines, that isn't very helpful when using this library to parse env files

A ignore_errors parameter can be added to these functions

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Locate the set_key and get_key functions and inspect how they currently handle invalid lines and emit warnings. Confirm the intended ignore_errors behavior and cover both error-handling paths with tests; done means invalid env-file lines follow the requested exception-versus-warning behavior.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
api
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
42/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.