Skip to content

Conversation

@desilinguist
Copy link
Collaborator

This PR closes #520.

  • Modify configuration parser to allow 'logs' field in addition to log.
  • Show a warning if the user uses 'log' instead of 'logs'.
  • Update all of the examples configuration files to use 'logs'.
  • Update all tests in test_input.py to use 'logs'.
  • Add a new test in test_input.py.
  • Update the tutorial and the documentation.

- Modify configuration parser to allow 'logs' field.
- Show a deprecation warning if the user uses 'log' instead of 'logs'.
- Update all of the examples configuration files to use 'logs'.
- Update all tests in `test_input.py` to use 'logs'.
- Add a new test in `test_input.py`.
- Update the tutorial and the documentation.
@desilinguist desilinguist changed the title Rename log output option to logs. Rename log output option to logs Feb 23, 2021
@codecov
Copy link

codecov bot commented Feb 23, 2021

Codecov Report

Merging #670 (d97c4af) into main (c339845) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #670   +/-   ##
=======================================
  Coverage   96.76%   96.76%           
=======================================
  Files          63       63           
  Lines        9077     9098   +21     
=======================================
+ Hits         8783     8804   +21     
  Misses        294      294           
Impacted Files Coverage Δ
skll/config/__init__.py 95.28% <100.00%> (+0.17%) ⬆️
tests/test_input.py 99.80% <100.00%> (+<0.01%) ⬆️
tests/utils.py 97.89% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c339845...d97c4af. Read the comment docs.

@desilinguist desilinguist marked this pull request as ready for review February 23, 2021 22:53
@desilinguist desilinguist merged commit 13aa5a7 into main Feb 24, 2021
@delete-merged-branch delete-merged-branch bot deleted the rename-log-to-logs branch February 24, 2021 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename log option in config files to be logs

4 participants