Skip to content

Commit

Permalink
gitignore update
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardbinet committed Jun 22, 2020
1 parent 33946c4 commit d54d9cf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-3-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
flake8 --count --ignore=W503,W605,E231,E501 --show-source --statistics tests
- name: Test with pytest and generate coverage report
run:
pytest --cov=./ --cov-report=xml
pytest --cov=./pandagg --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
Expand Down
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.*
/_*
!.github
*.py[co]
*.egg
*.egg-info
Expand All @@ -10,6 +10,5 @@
/build
/docs/build
/examples/imdb/conf.py

env/
env3/
/coverage.xml
env*
9 changes: 1 addition & 8 deletions pandagg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@

import logging

try: # Python 2.7+
from logging import NullHandler
except ImportError:

class NullHandler(logging.Handler):
def emit(self, record):
pass

from logging import NullHandler

logging.getLogger(__name__).addHandler(NullHandler())

0 comments on commit d54d9cf

Please sign in to comment.