Skip to content

Commit ad3578a

Browse files
authored
Merge pull request #8 from InnoFang/dev
🎨 🔧 update
2 parents 3e636af + e454a4e commit ad3578a

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

.github/workflows/code-counter-CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
python-version: [3.6, 3.7, 3.8, 3.9]
11+
python-version: [3.6, 3.7, 3.8, 3.9, 3.10.0]
1212

1313
steps:
1414
- uses: actions/checkout@v3

code_counter/core/counter.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,6 @@ def search(self):
5959
.format("File Type", "Lines", "Code", "Blank", "Comment", "File Path"), file=output_file)
6060
print("\t{}".format('-' * 90), file=output_file)
6161

62-
# # `use_list` argument is deprecated!!!
63-
# if use_list:
64-
# with open(input_path) as file:
65-
# for l in file.readlines():
66-
# l_strip = l.strip()
67-
# if os.path.exists(l_strip):
68-
# self.__search(l_strip, output_file)
69-
# else:
70-
# print('{} is not a validate path.'.format(l))
71-
7262
if not input_path:
7363
print('{} is not a validate path.'.format(input_path))
7464
return

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def read_readme(file_name):
1414
version=__import__('code_counter').__version__,
1515
author="Inno Fang",
1616
author_email="[email protected]",
17-
url='https://github.com/innofang/code-counter', # homepage
17+
url='https://github.com/InnoFang/code-counter', # homepage
1818
project_urls={
1919
'Documentation': 'https://github.com/InnoFang/code-counter/blob/master/README.md',
2020
'Source': 'https://github.com/InnoFang/code-counter',
@@ -29,7 +29,7 @@ def read_readme(file_name):
2929
install_requires=["matplotlib", "numpy"],
3030
python_requires='>=3.6',
3131
classifiers=[
32-
'Development Status :: 4 - Beta',
32+
"Development Status :: 5 - Production/Stable",
3333
'Intended Audience :: Developers',
3434
'License :: OSI Approved :: Apache Software License',
3535
'Environment :: Console',

0 commit comments

Comments
 (0)