Skip to content

Commit

Permalink
Merge pull request #78 from ProLint/contact_and_server_improvements
Browse files Browse the repository at this point in the history
Complete Library Overhaul: Refactoring, OOP, Documentation, and API Improvements
  • Loading branch information
danielpastor97 committed Jun 14, 2023
2 parents c295cd8 + 491ebb3 commit ee21866
Show file tree
Hide file tree
Showing 54 changed files with 4,930 additions and 1,673 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,6 @@ ENV/
# data for tests
prolint2/data/.*
.DS_Store
prolint2/.DS_Store
prolint2/.DS_Store
prolint2/data/contacts.csv
prolint2/data/contacts_metrics.csv
12 changes: 8 additions & 4 deletions bin/prolint2
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ r"""Argument parser to use prolint2 from the command-line
:Copyright: MIT License
"""

import os
import argparse
import prolint2._version as vers
from prolint2.server.server import start_server
import configparser

from prolint2 import get_config
import os
import prolint2._version as vers
from prolint2.server.server import ProLintDashboard


# Getting the config file
config = configparser.ConfigParser(allow_no_value=True)
Expand Down Expand Up @@ -118,7 +120,9 @@ prolint2_parser.add_argument(
args = prolint2_parser.parse_args()

# Starting the server
start_server(payload=args, reloader=False, i_bool=args.i_bool, e_file=args.e_file)
# start_server(payload=args, reloader=False, i_bool=args.i_bool, e_file=args.e_file)
app = ProLintDashboard()
app.start_server(payload=args)
import sys

sys.exit()
Loading

0 comments on commit ee21866

Please sign in to comment.