Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 17 additions & 8 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,28 @@
engines:
# Python Engines
engines:
duplication:
enabled: true
config:
languages:
- python
fixme:
enabled: true
markdownlint:
enabled: true
pep8:
enabled: true
radon:
enabled: true
radon:
enabled: true
markdownlint:
enabled: true

# Ratings
ratings:
paths:
- "**.inc"
- "**.module"
- "**.py"
- "**.py" # default for enable Radon analysis
- "**.md"
- "**.inc"
- "**.module"

# List the files or directories excluded from analysis.
exclude_paths:
- dist/**
- build/**
9 changes: 6 additions & 3 deletions test/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
import decimal
import json
import os
import unittest
import datetime

from smtpapi import SMTPAPIHeader

try:
import unittest2 as unittest
except ImportError:
import unittest


class TestSMTPAPI(unittest.TestCase):

Expand Down Expand Up @@ -101,8 +105,7 @@ class TestRepository(unittest.TestCase):
def setUp(self):

self.required_files = [
['./Dockerfile', './docker/Dockerfile'],
['./docker-compose.yml', './docker/docker-compose.yml'],
'./Dockerfile',
'./.codeclimate.yml',
'./.env_sample',
'./ISSUE_TEMPLATE.md',
Expand Down