refactor: usage of built-in type hinting in Python solutions

This commit is contained in:
Divlo committed 2022-04-24 20:27:51 +02:00
1 parent 64c5d41358
commit 34644bd333
27 files changed
+142 -116

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ export class GenerateChallengeCommand extends Command {
validator: typanion.isString()
})
async execute (): Promise<number> {
async execute(): Promise<number> {
try {
const challenge = await Challenge.generate({
name: this.challenge,
+1 -1
View File
@@ -35,7 +35,7 @@ export class GenerateSolutionCommand extends Command {
validator: typanion.isString()
})
async execute (): Promise<number> {
async execute(): Promise<number> {
try {
const solution = await Solution.generate({
name: this.solutionName,